cleanComment {madrat} | R Documentation |
cleanComment
Description
Helper function to clean a comment from additional metadata information
Usage
cleanComment(
x,
remove = c("unit", "description", "comment", "origin", "creation date", "note")
)
Arguments
x |
magclass object the comment should be read from |
remove |
Vector of categories to be removed |
Author(s)
Jan Philipp Dietrich
Examples
x <- maxample("animal")
getComment(x) <- c("unit: bla", "comment: hallo", "blub: ble")
madrat:::cleanComment(x)
[Package madrat version 3.15.6 Index]