Learn R Programming

⚠️There's a newer version (0.6) of this package.Take me there.

hero

R package implementing the (hero) sandwich smoother

Copy Link

Version

Install

install.packages('hero')

Monthly Downloads

228

Version

0.4.7

License

GPL (>= 2)

Maintainer

Joshua French

Last Published

January 24th, 2020

Functions in hero (0.4.7)

enlarge

Enlarge spatial domain
generate.data2d

Generate 2d data
hero

Construct a hero sandwich smoother
generate.data3d

Generate 3d data
enhance

Enhance penalty value
enhance.grid

Enhance penalty value using grid search
plot.hero_radspline

Plot a hero_radspline
diffpen

P-spline difference penalty
default.splines

Construct default splines
default.evalargs

Construct default evalargs
knot.design

Design knot/breakpoint spacing
precompute

Precompute objects
predict.hero

Predict method for hero object
plot.hero_matrix

Plot a hero object
kronecker.seq

A sequence of kronecker products
prepare.list

Prepare data array for sandwich smooth
prepare.matrix

Prepare data matrix for sandwich smooth
plot.hero_adjacent

Plot a hero_adjacent object
prepare

Prepare data for sandwich smooth
wrfg_cgcm3_tasmax

Computer-generated temperature data
prepare.array

Prepare data array for sandwich smooth
radspline

Radial basis spline specification
tasmax

Computer-generated temperature data
prepare.sts

Prepare starray for sandwich smooth
poly2SpatialPolygons

Convert simple polygon to a SpatialPolygons object
spdiffpen

Spatial difference penalty
loglambda2gcv

Determine GCV statistic
ludata

Data for f1 function from Lu et al. (2012)
plot.hero_bspline

Plot a hero_bspline object
plot.hero_enlarge

Plot a hero_enlarge object
rh.seq

Apply rh sequentially
predict.hero_radspline

Predict method for a hero_radspline
predict.hero_bspline

Predict method for hero_bspline object
rh

Rotated H-transform
prepare.numeric

Prepare data vector for sandwich smooth
prepare.starray

Prepare starray for sandwich smooth
circulate

Circulate values of a vector
as.sts

Convert object to sts class
assemble

Assemble spline ingredients for sandwich smooth
adjacent

Determine adjacent points
as.starray

Convert array to starray
connect

Connect hero_radsplines
create.prepared_list

Manually create a prepared_list
border.grid

Construct border for grid
bspline

B-spline specification