read_cnd: Read .cnd files

Description Usage Arguments .default read_cnd.map_cnd read_cnd.0_cnd

View source: R/read-cnd.R

Description

Read .cnd files

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
read_cnd(x, pattern = NULL, ...)

## Default S3 method:
read_cnd(x, pattern = NULL, ...)

## S3 method for class 'map_cnd'
read_cnd(x, pattern = NULL, ...)

## S3 method for class ''0_cnd''
read_cnd(x, pattern = NULL, n = NULL, ...)

Arguments

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 pattern.

.default

A default method which returns a result of readLines() with additional class according to the content of the file.

read_cnd.map_cnd

A method for map_cnd class object.

read_cnd.0_cnd

A method for 0_cnd class object. Used to extract rows which contains phrase matching pattern.


atusy/qntmap documentation built on April 11, 2021, 4:45 p.m.