load_mland | R Documentation |
Imports a zip file into an object of class 'MultiLand' that was previously
saved with save_mland()
. Alternatively, loads to the environment an RDS object depicting a
'MultiLandMetrics' object.
load_mland(path, ...)
path |
A string depicting the path to a zip file, to load objects of class 'MultiLand', or to a RDS file to load objects of class 'MultiLandMetrics'. |
... |
Other parameters passed to |
A 'MultiLand' or a 'MultiLandMetrics' object.
save_mland()
, mland()
, metrics()
# Loads mland object from a zip file, previously created with save_mland()
mland_obj <- system.file("extdata", "ernesdesign.zip", package = "multilandr")
ernesdesign <- load_mland(mland_obj)
# Loads a MultiLandMetrics object previously generated with metrics() and exported as a
# RDS object with save_mland() or saveRDS()
mlm_obj <- system.file("extdata", "ed_metrics.rds", package = "multilandr")
ed_metrics <- load_mland(mlm_obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.