format_data: Reformat and label data into GCalcium format

Description Usage Arguments Value Examples

Description

'format_data' changes the format of data from wide time series to long format with labeled columns. If data is already in long format, the function simply re-labels the columns

Usage

1

Arguments

data

A data set with observation times in the first row or column, and observed values from trials in each following row or column.

Value

Data frame with labeled time and trial columns

Examples

1
df.new <- format_data(GCaMP)

GCalcium documentation built on May 2, 2019, 9:31 a.m.