View source: R/02_exported_functions.R
readWide | R Documentation |
Data from a given wide style csv-file is imported. While importing, the data is converted into a long table
readWide(file, description = NULL, time = 1, header = TRUE, ...)
file |
character, the name of the data file. |
description |
numeric index vector of the columns containing the description. |
time |
numeric index of length 1: the time column. |
header |
a logical value indicating whether the file contains the names of the variables as its first line. |
... |
further arguments being passed to read.csv. |
data frame with columns "name", "time", "value" and other columns describing the measurements.
## Import example data set
simDataWideFile <- system.file(
"extdata", "simDataWide.csv",
package = "blotIt"
)
readWide(simDataWideFile, description = seq_len(3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.