[R] help

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri May 19 12:09:08 CEST 2006


x is a data frame, since that is what read.table reads.

bds.test is expecting (from the help file)

        x: a numeric vector or time series.

so you probably want to pass x[[1]].


On Thu, 18 May 2006, karim99.karim wrote:

> Dear Sir,
>
> I’am a frensh student and i’am a new user of the R software.
>
> After using the command (x<-read.delim(“clipboard”) to read a 
> spreadsheet of Excel, I want to run the bds test and calculate the 
> Lyapunov exponent. I have charged the R software by the packages tseries 
> and tseriesChaos. when i run bds.test(x,m=2) Unfortunately the R 
> software displays “error in as.vector(x,mode= “double”) : the object 
> (list) can not be automatically converted on double” so what shall I do 
> to run this two tests(lyapunov and bds)? And what is my mistake?
>
> I thank you in advance and I’am waiting forward your e-mail
>
> This si my e-mail: karimmgo at laposte.net
>
> Accédez au courrier électronique de La Poste : www.laposte.net ;
> 3615 LAPOSTENET (0,34 €/mn) ; tél : 08 92 68 13 50 (0,34€/mn)
>
>
>
> 	[[alternative HTML version deleted]]
>
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595


More information about the R-help mailing list