An error was encountered in the R script for this module.
The R error message is below:
Error in apply(dat[, -c(rm.list)], 2, unique) :
dim(X) must have a positive length
Calls: FitModels -> read.ma -> which -> lapply -> apply
Execution halted
I test the same data and work flow using Random Forest and the model ran and produced maps. So I'm wondering if this is a case of GLM not being able to fit a model to the data.
I'm trying to fit a simple model with only one independent parameter representing distance to previous year population of gypsy moth.
We have 112,000 absence records and 20,000 presence locations. Could that be the issue?
Essentially we are trying to create a yearly dispersal model where we predict the relative probability of gypsy moth detection based on the previous years established populations of gypsy moth.
Thanks
Ian
The R scipt returned the following warning(s). The R warning message is below -
Warning in n.x * n.y : NAs produced by integer overflow
Warning in n.x * n.y : NAs produced by integer overflow
Error in plot.window(...) : need finite 'xlim' values
Calls: FitModels ... plot -> plot -> plot.default -> localWindow -> plot.window
In addition: Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf
Execution halted
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An error was encountered in the R script for this module.
The R error message is below:
Warning in n.x * n.y : NAs produced by integer overflow
Warning in n.x * n.y : NAs produced by integer overflow
Error in plot.window(...) : need finite 'xlim' values
Calls: FitModels ... plot -> plot -> plot.default -> localWindow -> plot.window
In addition: Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf
Execution halted
Traceback (most recent call last):
File "vistrails.py", line 48, in <module>
userpackages_dir = os.environ['VISTRAILS_USERPACKAGES_DIR']
File "C:\VisTrails_SAHM\vistrails\Python27_64\lib\os.py", line 423, in __getitem__
return self.data[key.upper()]
KeyError: 'VISTRAILS_USERPACKAGES_DIR'