rmmCheckEmpty | R Documentation |
Identify empty fields in an rmm object and classify these into obligate and optional fields.
rmmCheckEmpty(rmm, family = c("base"))
rmm |
a range model metadata list |
family |
an rmm family, "base" by default |
See Examples.
A dataframe containing empty fields labeled as obligate, optional, or suggested.
Cory Merow <cory.merow@gmail.com>, Brian Maitner <bmaitner@gmail.com>,
Other check:
rmmCheckFinalize()
,
rmmCheckMissingNames()
,
rmmCheckName()
,
rmmCheckValue()
,
rmmCleanNULLs()
#First, make an empty rmm object:
rmm <- rmmTemplate()
#Next, we check for emtpy fields:
empties1 <- rmmCheckEmpty(rmm = rmm)
#If looks like there are quite a few empty obligate fields. Let's populate a few:
rmm$data$occurrence$taxon <- "Acer rubrum"
rmm$data$environment$variableNames <- "Bio1"
#Now, if we run rmmCheckEmpty again, we see there are 2 fewer empty, obligate fields
empties2 <- rmmCheckEmpty(rmm = rmm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.