as.labeled: Coerce to class labeled.

Description Usage Arguments Methods (by class) See Also

View source: R/submission.R

Description

Coerces to class labeled.

Coerces character to a labeled data.frame.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
as.labeled(x, ...)

## S3 method for class 'character'
as.labeled(
  x,
  spec,
  as.is = TRUE,
  na.strings = c("", "."),
  rename = function(x, ...) x,
  ...
)

Arguments

x

length-one filename for csv-formatted data file

...

passed to as.labeled.dat

spec

length-one file name for spec

as.is

passed to read.csv

na.strings

passed to read.csv

rename

a function with arguments x, ... to pre-process column names

Methods (by class)

See Also

as.labeled.data.frame


bergsmat/define documentation built on June 24, 2020, 11 p.m.