drop_marker {mappoly} | R Documentation |
Remove markers from a map
Description
This function creates a new map by removing markers from an existing one.
Usage
drop_marker(input.map, mrk, verbose = TRUE)
Arguments
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 |
Value
an object of class mappoly.map
Author(s)
Marcelo Mollinari, mmollin@ncsu.edu
Examples
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)
[Package mappoly version 0.4.1 Index]