Learn R Programming

SpatioTemporal (version 1.1.7)

plot.SVDcv: Plot and Boxplot cross-validation statistics for SVDcv object

Description

plot and boxplot methods for class SVDcv. Plots summary statistics for the cross-validation. Plots include RMSE, R2, BIC, and scatter plots of BIC for each column.

Usage

# S3 method for SVDcv
plot (x,
    y = c("all", "MSE", "R2", "AIC", "BIC"), pairs = FALSE,
    sd = FALSE, ...)

# S3 method for SVDcv boxplot (x, y = c("all", "MSE", "R2", "AIC", "BIC"), ...)

Arguments

x

SVDcv object to plot.

y

Which CV-statistic to plot. For pairs "all" implies "BIC".

pairs

TRUE/FALSE plot cross-validation statistics, or scatter plot of individual BIC:s.

sd

TRUE/FALSE add uncertainty to each CV-statistic.

...

Additional parameters passed to plot or pairs.

Value

Nothing

See Also

Other SVD for missing data: calcSmoothTrends, print.SVDcv, summary.SVDcv, SVDmiss, SVDsmooth, SVDsmoothCV, updateSTdataTrend, updateTrend, updateTrend.STdata, updateTrend.STmodel

Other SVDcv methods: print.SVDcv, summary.SVDcv, SVDsmooth, SVDsmoothCV

Examples

Run this code
# NOT RUN {
##See SVDsmooth example
# }

Run the code above in your browser using DataLab