Read .cnd files
read_cnd(x, pattern = NULL, ...) # S3 method for default read_cnd(x, pattern = NULL, ...) # S3 method for map_cnd read_cnd(x, pattern = NULL, ...) # S3 method for `0_cnd` read_cnd(x, pattern = NULL, n = NULL, ...)
| x | A path to the file (e.g., '0.cnd', 'map.cnd', ...) |
|---|---|
| pattern | pattern to substract |
| ... | Other arguments passed to methods |
| n | integer vector of same length as pattern.
Used to extract nth row of .cnd file if no phrases match the |
A default method which returns a result of readLines()
with additional class according to the content of the file.
A method for map_cnd class object.
A method for 0_cnd class object.
Used to extract rows which contains phrase matching pattern.