Set the names and classes for the columns in Ibex data
1 2 | format_ibex(d, col_names = NULL, partial_names = TRUE, col_classes = NULL,
partial_classes = TRUE)
|
d |
data.frame as returned by 'format_ibex' |
col_names |
character vector with names for the columns |
partial_names |
logical. If 'TRUE', the first seven columns will receive default names ('timestamp', 'md5_hash', 'controller', 'item_number', 'element_number', 'type', 'group'), since these columns are the same in all (default) Ibex controllers. So 'col_names' will be taken to specify names for columns starting from 8. If 'FALSE', 'col_names' will be taken as specifying names for all columns |
col_classes |
character vector with classes to be assumed for the columns |
partial_classes |
logical. If 'TRUE', the first seven columns will receive default classes: + timestamp, md5_hash, controller, type, group - 'character', + item_number, element_number - 'numeric', So 'col_classes' will be taken to specify classes for columns starting from 8. If 'FALSE', 'col_classes' will be taken as specifying classes for all columns |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.