View source: R/fix_column_names.R
fix_column_names | R Documentation |
Automatically fix column names using the first algorithm
fix_column_names(data, LFDT = FALSE, MOR = FALSE, ordered = TRUE, n_ids = 3)
data |
A data frame or data table with format LFDT or WFDT having |
LFDT |
Is the data on long-format with comparison, i.e., TRUE or on wide format without comparison which corresponds to FALSE |
MOR |
Is the data only consisting of mean of replicates? If so, set this to TRUE. Or else, set this to FALSE |
ordered |
Is the data ordered with |
n_ids |
The number of ID columns found in |
A data table identical to input data
but ID column names are replaced with standard ones. If ordered is FALSE
then approximate matching is done with slack = 3
fix_column_names(data = sampled_cs_measurements, ordered = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.