format_ibex: Set the names and classes for the columns in Ibex data

Description Usage Arguments

View source: R/utils.R

Description

Set the names and classes for the columns in Ibex data

Usage

1
2
format_ibex(d, col_names = NULL, partial_names = TRUE, col_classes = NULL,
  partial_classes = TRUE)

Arguments

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


antonmalko/ibextor documentation built on May 25, 2019, 2:26 p.m.