Description Usage Arguments Details Value Examples
Take a list of data frames and change the column names
1 |
list |
A list of data frame objects. |
colnames |
A vector of strings holding the names for the columns. |
Once a list of data frames is generated with the getFiles function, use this function to set up the column names for all the data frames in the list.
Other functions in this package require that the change in time and position columns are named "dT", "dx", and "dy", respectively.
Returns the list of data frames provided with the column names
modified based on the provided vector colnames
.
1 2 | colnames <- c("stimulus", "dT", "dx", "dy")
servosphere <- cleanNames(servosphere, colnames)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.