"tsparam"
class is designed to represent results from time
series analysis. It just provides common plot
and
print
methods
for estimated parameters.tsparam (x, y, xlab="", ylab="", lab="", ybnd=NULL, ysgnf=NULL)
plot (obj, xlim = range(obj$x), ylim = range(attr(obj,"ybnd"),obj$y),
xlab = attr(obj,"xlab"), ylab = attr(obj,"ylab"),
type = "l", main = "", grid = TRUE, col = "black",
bcol = "blue", gridcol = "lightgrey")
print (obj, digits = max(3,.Options$digits-3), ...)
x,y
."tsparam"
object or the way it was build.x
and
y
which contains confidence bounds for the y
data.x
containing the significance codes for the y
data."tsparam"
object.print
.tsparam
constructs and returns a class "tsparam"
object.
It consists of a list with elements x
and y
. Attached
attributes are "xlab"
, "ylab"
, "ybnd"
,
"ysgnf"
, and "lab"
.
The print
and plot
methods return the invisible input
object.plot
, print
x <- 1:100
y <- rnorm (100)
t <- tsparam (x,y,"index","random numbers")
plot (t)
print (t)
Run the code above in your browser using DataLab