Learn R Programming

RMixtCompUtilities (version 4.1.3)

createFunctional: Create a functional in MixtComp format

Description

Create a functional in MixtComp format

Usage

createFunctional(time, value)

Arguments

time

vector containing the time of the functional

value

vector containing the value of the functional

Value

The functional data formatted to the mixtcomp standard

Examples

Run this code
# NOT RUN {
mat <- matrix(c(1, 2, 3, 9, 1, 1.5, 15, 1000), ncol = 2)
createFunctional(mat[,1], mat[,2])

# }

Run the code above in your browser using DataLab