diff options
-rw-r--r-- | R/idframe.R | 7 | ||||
-rw-r--r-- | man/plot.idframe.Rd | 11 |
2 files changed, 14 insertions, 4 deletions
diff --git a/R/idframe.R b/R/idframe.R index 2c85a42..80a4f91 100644 --- a/R/idframe.R +++ b/R/idframe.R @@ -72,11 +72,14 @@ idframe <- function(output=NULL,input=NULL, #' Plotting method for objects inherting from class \code{idframe} #' #' @param object an object of class \code{idframe} +#' @param par a list of arguments passed to par() before plotting. +#' @param col line color, to be passed to plot.(Default=\code{"steelblue"}) #' @param ... additional arguments to be passed to the \code{tfplot} function #' +#' @seealso \code{\link[tfplot]{tfplot}} #' @examples -#' data(distill) -#' plot(distill,col="blue") +#' data(cstr) +#' plot(cstr,col="blue") #' #' @export plot.idframe <- function(object,par=list(mar=c(3,4,3,2)), diff --git a/man/plot.idframe.Rd b/man/plot.idframe.Rd index 9d2eb09..7c820cf 100644 --- a/man/plot.idframe.Rd +++ b/man/plot.idframe.Rd @@ -10,13 +10,20 @@ \arguments{ \item{object}{an object of class \code{idframe}} +\item{par}{a list of arguments passed to par() before plotting.} + +\item{col}{line color, to be passed to plot.(Default=\code{"steelblue"})} + \item{...}{additional arguments to be passed to the \code{tfplot} function} } \description{ Plotting method for objects inherting from class \code{idframe} } \examples{ -data(distill) -plot(distill,col="blue") +data(cstr) +plot(cstr,col="blue") +} +\seealso{ +\code{\link[tfplot]{tfplot}} } |