Learn R Programming

sysid (version 1.0.4)

read.idframe: Data input into a idframe object

Description

Read the contents of a data.frame/matrix into a idframe object.

Usage

read.idframe(data, ninputs = NULL, Ts = 1, unit = c("seconds", "minutes", "hours", "days")[1])

Arguments

data
a data.frame object
ninputs
the number of input columns. (Default: 0)
Ts
sampling interval (Default: 1)
unit
Time Unit (Default: "seconds")

Value

an idframe object

Examples

Run this code
data(cstrData)
data <- read.idframe(cstrData,ninputs=1,Ts= 1,unit="minutes")

Run the code above in your browser using DataLab