## Modify name in samples
names(Kenya_veg@samples) <- replace_x(names(Kenya_veg@samples),
old = "LAYER", new = "layer")
## Add installed data frame to layers
new_layer(Kenya_veg) <- veg_layers
## Take a look in the result
summary(Kenya_veg@samples$layer)
## Do it with existing values
data(Kenya_veg)
new_layer(Kenya_veg) <- "LAYER"
summary(Kenya_veg@samples$LAYER)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.