Learn R Programming

ddc (version 1.0.1)

createStandardMatrix: Create the dataframe, only including the event data

Description

Create the dataframe, only including the event data

Usage

createStandardMatrix(data, output_dir = NULL)

Value

the dataframe of event data

Arguments

data

data structure as the files in "UCR Time Series Classification Archive"

output_dir

the file to save the standard matrix data

Examples

Run this code
# \donttest{
original_data <- data.frame("1"=c(1, 2, 1), "2"=c(5,6,7), 
   "3"=c(4, 5, 8), "4"=c(3, 1, 9))
standard_matrix <- createStandardMatrix(data = original_data)
# }

Run the code above in your browser using DataLab