drop_marker | R Documentation |
This function creates a new map by removing markers from an existing one.
drop_marker(input.map, mrk, verbose = TRUE)
input.map |
an object of class |
mrk |
a vector containing markers to be removed from the input map, identified by their names or positions |
verbose |
if |
an object of class mappoly.map
Marcelo Mollinari, mmollin@ncsu.edu
sub.map <- get_submap(maps.hexafake[[1]], 1:50, reestimate.rf = FALSE)
plot(sub.map, mrk.names = TRUE)
mrk.to.remove <- c("M_1", "M_23", "M_34")
red.map <- drop_marker(sub.map, mrk.to.remove)
plot(red.map, mrk.names = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.