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 <ricardosousa2...@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

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to