powered by
Attach specifics to a data.frame as attributes, including label and guide.
# S3 method for data.frame specify(x, spec, na.rm = TRUE, empty.rm = TRUE, ...)
data.frame
a data spec (or corresponding filepath) to use as source of attributes
if TRUE, don't assign NA where encountered
if TRUE, don't assign empty string where encountered
passed arguments
Other specify: specify.character(), specify()
specify.character()
specify()
data(drug) spec <- specification(drug,tol = 3) drug %matches% spec drug <- specify(drug,spec) attributes(drug$HEIGHT)
Run the code above in your browser using DataLab