Print Geosmooth S3 Objects
Source:R/graph_trend_filtering.R, R/lpl_tf.R, R/lps.R, and 7 more
geosmooth-print-methods.RdPrint concise summaries for fitted geosmooth models and constructed operators.
Usage
# S3 method for class 'graph.trend.filtering.fit'
print(x, ...)
# S3 method for class 'lpl_tf_operator'
print(x, ...)
# S3 method for class 'lps'
print(x, ...)
# S3 method for class 'malps'
print(x, ...)
# S3 method for class 'malps_bootstrap'
print(x, ...)
# S3 method for class 'metric.graph.lowpass.fit'
print(x, ...)
# S3 method for class 'metric.graph.lowpass.refit'
print(x, ...)
# S3 method for class 'pttf.trend.filtering.fit'
print(x, ...)
# S3 method for class 'pttf_operator'
print(x, ...)
# S3 method for class 'slpl_tf_operator'
print(x, ...)
# S3 method for class 'ssrhe.hessian.operator'
print(x, ...)
# S3 method for class 'ssrhe.hessian.l1.fit'
print(x, ...)
# S3 method for class 'ssrhe.hessian.fit'
print(x, ...)
# S3 method for class 'ssrhe.hessian.refit'
print(x, ...)
# S3 method for class 'ssrhe.hessian.cv.fit'
print(x, ...)
# S3 method for class 'ssrhe.hessian.gcv.fit'
print(x, ...)
# S3 method for class 'transported.graph.hessian.operator'
print(x, ...)Examples
X <- matrix(seq(0, 1, length.out = 12), ncol = 1)
fit <- fit.lps(X, sin(2 * pi * X[, 1]), support.grid = 6L)
print(fit)
#> Local polynomial smoother (LPS) fit
#> observations: 12
#> coordinate method: coordinates
#> backend: R
#> selected support.size: 6
#> selected degree: 2
#> selected kernel: tricube
#> selected CV RMSE: 0.067414