[R-sig-Geo] ENFA scatter plot and SpatialPixelsDataFrame problem
Michela Giusti
michela.giusti at isprambiente.it
Wed Jun 19 11:30:13 CEST 2013
Hi,
I have a problem with my ENFA scatter plot. You can find it below.
What did I do wrong?
I also have a problem with a SpatialPixelsDataFrame:
>SPDF_TOT_CR<-rbind.SpatialPixelsDataFrame(SPDF_monte_tuna,SPDF_isuela)
Error in if (max(object at grid.index) > .NumberOfCells(object at grid)) stop("grid.index max value too large") :
missing value where TRUE/FALSE needed
In addition:Warning messages:
1: In points2grid(points, tolerance, round) :
grid has empty column/rows in dimension 1
2: In points2grid(points, tolerance, round) :
grid has empty column/rows in dimension 2
3: In getGridIndex(coordinates(points), grid) : NAs introduced by coercion
Thank you very much for your help.
Bye,
Michela
>enfa_CR_TOT$co
Mar Spe1
aspect -0.15611790 -2.364093e-04
BPI -0.26189379 7.696597e-06
curvature 0.07022979 7.875935e-01
plan curvature 0.17703567 -3.891006e-01
profile curvature -0.02840416 -4.778044e-01
depth 0.47498377 -1.031100e-04
slope 0.48563437 6.090404e-05
TRI 0.63914621 -2.342323e-05
scatter(enfa_CR_TOT, percent = 100, pts = F , clabel = 0.8)
>(randtestenfa_CR_TOT <- randtest(enfa_CR_TOT, nrepet = 500))
Monte-Carlo test
Call: randtest.enfa(xtest = enfa_CR_TOT, nrepet = 500)
Observation: 3.720003
Based on 500 replicates
Simulated p-value: 0.001996008
Alternative hypothesis: greater
Std.Obs Expectation Variance
7.03676906 1.58379866 0.09215922
--
*****************************************************************
Dr. Michela Giusti
ISPRA
Istituto Superiore per la Protezione e la Ricerca Ambientale
Via Brancati, 60
00144 Roma
Tel. +390650074746
michela.giusti at isprambiente.it
*****************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20130619/02b13034/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 14270 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20130619/02b13034/attachment.jpe>
More information about the R-sig-Geo
mailing list