- Code: Select all
db_noout.db2 <- db_noout.db
Bootstrap <-
xvalid(db_noout.db2,
data.model.3dir,
flag.xvalid = 1,
neigh.unique)
#Bootstrap
- Code: Select all
hist(
db.extract(
Bootstrap, "Xvalid.P_PHI.stderr"),
nclass = 30,
main = "Histogram of Standardized Error",
xlab = "Error Variance in units of Standard Deviation",
col = "red"
)
- Code: Select all
db_noout.db2 <- db.locerase(db_noout.db2, "z")
db_noout.db2 <-
db.locate(db_noout.db2, "8", "z")
xvalid(db_noout.db2, data.model.3dir, neigh.unique, flag.xvalid = 2)
db_noout.db2 <- db.locerase(db_noout.db2, "z")
db_noout.db2 <-
db.locate(db_noout.db2, "8", "z")
db_noout.db2 <-
xvalid(db_noout.db2, data.model.3dir, neigh.unique, flag.xvalid = 1)
db_noout.db3 <- db_noout.db2
#db_noout.db3
The error message is:
Error in xvalid(db_noout.db2, data.model.3dir, flag.xvalid = 2, neigh.unique) :
unused argument (flag.xvalid = 2)
One thing notice is that I can't find the argument, flag.xvalid in the documentation anymore? Is it gone, do I need to do something different?
Any thoughts on this? I cannot figure out why all of a sudden this has stopped working.
Like I said, this has been working for a long time and now it does not.
Jeffrey