powered by
Tries to coerce a list to an encoding. Names are understood as decodes, and list values as codes. On failure, the list is returned unchanged.
list2encoding(x, ...)
an encoding (length-one character), or original list if error occurs
list
ignored
Other encode: encode.yamlet()
encode.yamlet()
meta <- system.file(package = 'yamlet', 'extdata','quinidine.yaml') meta <- as_yamlet(meta) list2encoding(meta$Creatinine$guide)
Run the code above in your browser using DataLab