I tried running the script from the
- Code: Select all
?edwards.eberhardt
STOP ERROR
MARK did not run properly. If error message was not shown, re-run MARK with invisible=FALSE
Model output is not available
Show Traceback
Rerun with Debug
Error in `colnames<-`(`*tmp*`, value = 1:18) :
attempt to set 'colnames' on an object with less than two dimensions
I tried to reduce the code down and found that the huggins models work fine, but the models with N in the likelihood failed:
- Code: Select all
#
data(edwards.eberhardt)
#
#
# Define parameter models
#
pdotshared=list(formula=~1,share=TRUE)
#
# Run assortment of models
#
#
# Capture Closed models
#
# constant p=c
ee.closed.m0=mark(edwards.eberhardt,model="Closed",
model.parameters=list(p=pdotshared), invisible=FALSE)
STOP ERROR
MARK did not run properly. If error message was not shown, re-run MARK with invisible=FALSE
Model output is not available
Error in `colnames<-`(`*tmp*`, value = 1:18) :
attempt to set 'colnames' on an object with less than two dimensions
Any help on how to get past the errors?