View source: R/02_exported_functions.R
| read_wide | R Documentation | 
Data from a given wide style csv-file is imported. While importing, the data is converted into a long table
read_wide(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
sim_data_wide_file <- system.file(
    "extdata", "sim_data_wide.csv",
    package = "blotIt3"
)
read_wide(sim_data_wide_file, description = seq_len(3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.