import_rif | R Documentation |
Reads a file that is stored in RIF format and returns a tibble. The function validates the presence of required fields, and checks whether the variable names in the data match the specified distribution.
import_rif(file)
file |
Either a path to a file, a connection, or literal data (either a single string or a raw vector). Files ending in Literal data is most useful for examples and tests. To be recognised as
literal data, the input must be either wrapped with Using a value of |
An object of class reference
, basically a tibble with an attribute
called study
.
Stef van Buuren 2021
fn <- system.file("testdata/nl_2009_hgt_male_nl.txt", package = "centile")
myref <- import_rif(fn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.