load("birds.Rdata")
load("mistnet.predictions.Rdata")
devtools::load_all()
null.predictions = matrix(
NA,
nrow = sum(in.test),
ncol = ncol(route.presence.absence),
dimnames = list(NULL, colnames(route.presence.absence))
)
for(species in colnames(route.presence.absence)){
null.predictions[ , species] = mean(route.presence.absence[in.train, species])
}
save(null.predictions, file = "null.predictions.Rdata")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.