Learn R Programming

TRMF (version 0.1.5)

plot.TRMF: Plot Latent Time Series for a TRMF Object

Description

Plots all the time series in Xm from a trained TRMF object.

Usage

# S3 method for TRMF
plot(x, ...)

Arguments

x

a trained TRMF object.

...

ignored.

Value

No return value, called for side effects

See Also

create_TRMF, TRMF_columns, TRMF_trend

Examples

Run this code
# NOT RUN {
xm = poly(x = (-10:10)/10,degree=4)
fm = matrix(runif(40),4,10)
Am = xm%*%fm+rnorm(210,0,.2)

# create model
obj = create_TRMF(Am)
out = train(obj)
plot(out)
# }

Run the code above in your browser using DataLab