Encodes yamlet. Each 'guide' element with length > 1
is converted to an encoding, if possible. If data
is supplied, conditional guides will be ignored.
Usage
# S3 method for yamlet
encode(x, ..., target = "guide", data = NULL)
Arguments
x
yamlet
...
ignored
target
attribute to encode
data
optional data.frame for guide context
Value
yamlet, with guide elements possibly transformed to encodings