Sorry...I meant to send this message below to Clement Calenge directly, but
sent it to the whole r-sig-geo list mistakenly.
On Thu, May 28, 2009 at 4:37 PM, Tim Sippel <tsippel@gmail.com> wrote:

> Hi Clement-
>
> I trying to run kselect analysis on radio tracking data to assess the
> importance of different habitat variables.  I'm having trouble with two
> different things in this process.
>
> 1) I've subsampled some of my data, running the dudi.pca on different
> subsamples.  One of the subsampled datasets is giving me the following
> error:
>
> >d0<-dudi.pca(df=imputed.data0.0[,15:ncol(imputed.data0.0)],
> row.w=usage0.0$usage, scannf=F, nf=2, scale=T, center=T)
> Error in eigen(df, symmetric = TRUE) : infinite or missing values in 'x'
>
> However, when running the PCA on my other subsamples, I don't get an error.
>
> 2) When running rand.kselect() on the 'good' subsamples that don't give an
> error from dudi.pca step, I get a fatal error forcing R to shut down.
>
> 3) When running kselect() on one of the successful dudi.pca subsamples, it
> seems fine with no apparent errors.
>
> Could there be a bug in the rand.kselect() function?  I've run a debugger
> on the dudi.pca command, which leads me into the error mentioned above.
> The error message in 1) regarding the eigen() function seems to be nested in
> the dudi.pca() function.  I'm a bit bogged down with errors to debug
> and would be very grateful for your help.
>
> I'm using adehabitat v1.8.3 on R2.9.0.  I can provide the data I'm using if
> it is helpful.
>
> Thanks and best regards,
>
> Tim Sippel
>

	[[alternative HTML version deleted]]

