[R] problem with data

Sarah Goslee sarah.goslee at gmail.com
Thu Mar 8 17:33:25 CET 2012


Is v_star a vector? That is, was it already created?

Otherwise you'll need:
v_star <- x.sub$Time[1]
as a number of people have already suggested.

Sarah

On Thu, Mar 8, 2012 at 9:39 AM, RMSOPS <ricardosousa2000 at clix.pt> wrote:
>
> Hello
>
>  I try save the results in the the vector,
>
> v_star[1]<-x.sub$Time[1]
>
>   and give me the following error
>
> In v_end[1] <- x.sub$Time[1] :
>  number of items to replace is not a multiple of replacement length, how
> put this [1] *"2006-10-31 19:03:01 EST"*
> inside the vetor
>
>  Thanks
>


-- 
Sarah Goslee
http://www.functionaldiversity.org



More information about the R-help mailing list