strip_comments function

Strip comments marked with a hash from a character vector

Strip comments marked with a hash from a character vector

strip_comments(str)

Arguments

  • str: the character vector

Returns

character vector with comments removed (and lines with only comments completely removed)

Other functions in hmmTMB

Related functions from the same R package