print.wpstCL: Prints some information about a wpstCL object

print.wpstCLR Documentation

Prints some information about a wpstCL object

Description

Prints basic information about a wpstCL object

Usage

## S3 method for class 'wpstCL'
print(x, ...)

Arguments

x

wpstCL object to print info about

...

Other arguments

Details

Description says all

Value

Nothing

Author(s)

G P Nason

See Also

makewpstDO,wpstCLASS

Examples

#
# Use BabySS and BabyECG data for this example.
#
# Want to predict future values of BabySS from future values of BabyECG
#
# Build model on first 256 values of both
#
# See example in makewpstDO from which this one originates
#
data(BabyECG)
data(BabySS)
BabyModel <- makewpstDO(timeseries=BabyECG[1:256], groups=BabySS[1:256],
	mincor=0.5)
#
# Now, suppose we get some new data for the BabyECG time series.
# For the purposes of this example, this is just the continuing example
# ie BabyECG[257:512]. We can use our new discriminant model to predict
# new values of BabySS
#
BabySSpred <- wpstCLASS(newTS=BabyECG[257:512], BabyModel)
#
BabySSpred
#wpstCL class object
#Results of applying discriminator to time series
#Components:  BasisMatrix BasisMatrixDM wpstDO PredictedOP PredictedGroups 

wavethresh documentation built on Sept. 11, 2024, 9:33 p.m.