"Eric Elguero" <[EMAIL PROTECTED]> writes:
> Hi ev'rybody,
>
> is there a way to pass a vector to a function
> expecting separate arguments?
> more specifically, I have a character vector, say u
> and I want a single string, but
> >paste(u)
> doesn't work, so I would like something like
> >past
OTECTED] On Behalf Of Eric Elguero
Sent: Monday, September 11, 2006 9:08 AM
To: r-help@stat.math.ethz.ch
Subject: [R] "unvector" ?
Hi ev'rybody,
is there a way to pass a vector to a function expecting separate
arguments?
more specifically, I have a character vector, say u and I want a
Eric Elguero wrote:
> is there a way to pass a vector to a function
> expecting separate arguments?
In general you can probably do something using
do.call(FUN,as.list(v))
where ``v'' is your vector.
> more specifically, I have a character vector, say u
> and I
Hi ev'rybody,
is there a way to pass a vector to a function
expecting separate arguments?
more specifically, I have a character vector, say u
and I want a single string, but
>paste(u)
doesn't work, so I would like something like
>paste(unvector(u)).
I am interested in a solution to the general