bf_encode {bitfield} | R Documentation |
Encode bit flags into a bitfield
Description
This function picks up the flags mentioned in a registry and encodes them as integer values.
Usage
bf_encode(registry)
Arguments
registry |
|
Value
data.frame of the same length as the input data. Depending on type and amount of bit flags, this can a table with any number of columns, each of which encodes a sequence of 32 bits into an integer.
Examples
reg <- bf_map(protocol = "na", data = bf_tbl, x = y)
field <- bf_encode(registry = reg)
[Package bitfield version 0.6.1 Index]