objects
slot of a
simList
objectR/check.R
checkObject.Rd
Check that a named object exists in the provide simList
environment slot,
and optionally has desired attributes.
checkObject(sim, name, object, layer, ...) # S4 method for simList,missing,Raster,character checkObject(sim, name, object, layer, ...) # S4 method for simList,missing,ANY,missing checkObject(sim, name, object, layer, ...) # S4 method for simList,character,missing,missing checkObject(sim, name, object, layer, ...) # S4 method for simList,character,missing,character checkObject(sim, name, object, layer, ...) # S4 method for missing,ANY,missing,ANY checkObject(sim, name, object, layer, ...)
sim | A |
---|---|
name | A character string specifying the name of an object to be checked. |
object | An object. This is mostly used internally, or with layer, because it will fail if the object does not exist. |
layer | Character string, specifying a layer name in a Raster, if the
|
... | Additional arguments. Not implemented. |
Invisibly return TRUE
indicating object exists; FALSE
if not.
Alex Chubaty and Eliot McIntire