diff options
author | Suraj Yerramilli | 2015-04-01 04:06:03 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-04-01 04:06:03 +0530 |
commit | 389ea44cfbc550e2c0bc60125107d4df143a4ef0 (patch) | |
tree | ee66fecffd12435d77cbd0f2d54ba0fce1b048bb /R/idframe.R | |
parent | 058d47522706582c3c2a80579cbe39075d3cee28 (diff) | |
download | SysID-R-code-389ea44cfbc550e2c0bc60125107d4df143a4ef0.tar.gz SysID-R-code-389ea44cfbc550e2c0bc60125107d4df143a4ef0.tar.bz2 SysID-R-code-389ea44cfbc550e2c0bc60125107d4df143a4ef0.zip |
updated documentation
Diffstat (limited to 'R/idframe.R')
-rw-r--r-- | R/idframe.R | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/R/idframe.R b/R/idframe.R index e173961..707e4a5 100644 --- a/R/idframe.R +++ b/R/idframe.R @@ -14,8 +14,13 @@ #' @param fUnit Frequency Unit (Valid only if type="frequency") #' @return an idframe object #' +#' @seealso \code{\link{plot.idframe}}, the plot method for idframe objects, +#' \code{\link{summary.idframe}}, the summary method for idrame objects +#' #' @examples #' +#' dataMatrix <- matrix(rnorm(1000),ncol=5) +#' data <- idframe(output=dataMatrix[,3:5],input=dataMatrix[,1:2],Ts=1) #' #' @export idframe <- function(output=numeric(0),input=numeric(0), @@ -68,6 +73,11 @@ idframe <- function(output=numeric(0),input=numeric(0), #' #' @param object an object of class \code{idframe} #' @param ... additional arguments to be passed to the \code{plot} function +#' +#' @examples +#' data(distill) +#' plot(distill,col="blue") +#' #' @export plot.idframe <- function(object,...){ @@ -108,6 +118,11 @@ index <- function(object){ #' Generates a summary of objects inherting from class \code{idframe} #' #' @param object an object of class \code{idframe} +#' +#' @examples +#' data(cstr) +#' summary(cstr) +#' #' @export summary.idframe <- function(object){ out_sum <- summary(object$output) |