powered by
Helper function to clean a comment from additional metadata information
cleanComment( x, remove = c("unit", "description", "comment", "origin", "creation date", "note") )
magclass object the comment should be read from
Vector of categories to be removed
Jan Philipp Dietrich
x <- maxample("animal") getComment(x) <- c("unit: bla", "comment: hallo", "blub: ble") madrat:::cleanComment(x)
Run the code above in your browser using DataLab