Dear Melissa,
Try this:
> x <- c(2, 11, 12, 20, 21, 98, 99)
> paste(x, collapse=",")
[1] "2,11,12,20,21,98,99"
See ?paste for more information.
HTH,
Jorge
On Wed, May 13, 2009 at 5:53 AM, Melissa2k9 wrote:
>
> Hi,
>
> Im trying to put some numbers into a dataframe , I have a list of numbers
Hi Melissa
unless I miss a point, you should get what you want with (for example)
y<-paste(b,collapse=",")
Hope this helps. Olivier
Melissa2k9 wrote:
>
> Hi,
>
> Im trying to put some numbers into a dataframe , I have a list of numbers
> (change points in a time series) like such
>
> [1] 2
2 matches
Mail list logo