Cc: r-help@r-project.org
Sent: Thursday, June 28, 2012 4:04 PM
Subject: Re: [R] remove descriptions from output
On 28/06/12 22:24, Kathie wrote:
> Dear R users,
>
> I'd like to remove some descriptions when I use "filter".
>
>> filter(1:10, rep(1, 3))
> Time Series:
>
On 28/06/12 22:24, Kathie wrote:
Dear R users,
I'd like to remove some descriptions when I use "filter".
filter(1:10, rep(1, 3))
Time Series:
Start = 1
End = 10
Frequency = 1
[1] NA 6 9 12 15 18 21 24 27 NA
That is, I want only this
[1] NA 6 9 12 15 18 21 24 27 NA
Thank you in adv
On 28/06/12 22:31, Özgür Asar wrote:
Dear Kathie,
Try
c(filter(1:10, rep(1, 3)))
It is recommended that one should *not* use c() for its
side effects. Better to use as.vector().
cheers,
Rolf Turner
__
R-help@r-project.org mailing l
Cc:
Sent: Thursday, June 28, 2012 6:31 AM
Subject: Re: [R] remove descriptions from output
Dear Kathie,
Try
c(filter(1:10, rep(1, 3)))
Best
Ozgur
--
View this message in context:
http://r.789695.n4.nabble.com/remove-descriptions-from-output-tp4634723p4634727.html
Sent from the R help mai
Dear R users,
I'd like to remove some descriptions when I use "filter".
> filter(1:10, rep(1, 3))
Time Series:
Start = 1
End = 10
Frequency = 1
[1] NA 6 9 12 15 18 21 24 27 NA
That is, I want only this
[1] NA 6 9 12 15 18 21 24 27 NA
Thank you in advance.
Kathie
--
View this messa
Dear Kathie,
Try
c(filter(1:10, rep(1, 3)))
Best
Ozgur
--
View this message in context:
http://r.789695.n4.nabble.com/remove-descriptions-from-output-tp4634723p4634727.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-proje
6 matches
Mail list logo