Learn R Programming

sysid (version 1.0.5)

idframe: S3 class for storing input-output data.

Description

idframe is an S3 class for storing and manipulating input-ouput data. It supports discrete time and frequency domain data.

Usage

idframe(output, input = NULL, Ts = 1, start = 0, end = NULL,
  unit = c("seconds", "minutes", "hours", "days")[1])

Value

an idframe object

Arguments

output

dataframe/matrix/vector containing the outputs

input

dataframe/matrix/vector containing the inputs

Ts

sampling interval (Default: 1)

start

Time of the first observation

end

Time of the last observation Optional Argument

unit

Time unit (Default: "seconds")

See Also

plot.idframe, the plot method for idframe objects

Examples

Run this code

dataMatrix <- matrix(rnorm(1000),ncol=5) 
data <- idframe(output=dataMatrix[,3:5],input=dataMatrix[,1:2],Ts=1)

Run the code above in your browser using DataLab