diff options
author | Suraj Yerramilli | 2015-01-29 18:24:51 +0530 |
---|---|---|
committer | Suraj Yerramilli | 2015-01-29 18:24:51 +0530 |
commit | ce5175a0deb3b1b4e46f66ef135672be022f267c (patch) | |
tree | f5f43736a5040734db3ec85b97b1a28d528ac0b0 /R/idframe.R | |
parent | 595f1dd50d0f76f8d2eb7b3dd62418eafaf23eba (diff) | |
download | SysID-R-code-ce5175a0deb3b1b4e46f66ef135672be022f267c.tar.gz SysID-R-code-ce5175a0deb3b1b4e46f66ef135672be022f267c.tar.bz2 SysID-R-code-ce5175a0deb3b1b4e46f66ef135672be022f267c.zip |
added documentation for plot and summary functions of the idframe class
Diffstat (limited to 'R/idframe.R')
-rw-r--r-- | R/idframe.R | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/R/idframe.R b/R/idframe.R index 00199ea..504478b 100644 --- a/R/idframe.R +++ b/R/idframe.R @@ -58,7 +58,13 @@ idframe <- function(output=numeric(0),input=numeric(0), return(dat) } -# plot method for idframe object +#' Plotting idframe objects +#' +#' Plotting method for objects inherting from class "idframe" +#' +#' @param object an object of class "idframe" +#' @param ... additional arguments to be passed to the `plot` function +#' @export plot.idframe <- function(object,...){ p <- dim(object$output)[2];m <- dim(object$input)[2] @@ -93,8 +99,13 @@ plot.idframe <- function(object,...){ } } -# summary method for idframe object -summary.idframe <- function(object,...){ +#' idframe-Object summaries +#' +#' Generates a summary of objects inherting from class `idframe` +#' +#' @param object an object of class "idframe" +#' @export +summary.idframe <- function(object){ out_sum <- summary(object$output) in_sum <- summary(object$input) |