as.naaccr_record {naaccr} | R Documentation |
Coerce to a naaccr_record dataset
Convert objects into naaccr_record
objects, if a method exists.
Description
Coerce to a naaccr_record dataset
Convert objects into naaccr_record
objects, if a method exists.
Usage
as.naaccr_record(x, keep_unknown = FALSE, version = NULL, format = NULL, ...)
## S3 method for class 'list'
as.naaccr_record(x, keep_unknown = FALSE, version = NULL, format = NULL, ...)
## S3 method for class 'data.frame'
as.naaccr_record(x, keep_unknown = FALSE, version = NULL, format = NULL, ...)
Arguments
x |
An R object. |
keep_unknown |
Logical indicating whether values of "unknown" should be
a level in the factor or |
version |
An integer specifying the NAACCR format version for parsing
the records. Use this or |
format |
A |
... |
Additional arguments passed to or from methods. |
Value
An object of class naaccr_record
See Also
[Package naaccr version 2.0.2 Index]