# set up a sequence of 11 argument values
argvals <- seq(0,1,0.1)
# set up the polygonal basis
basisobj <- create.polygonal.basis(argvals)
# compute the 11 by 11 penalty matrix
penmat <- polygpen(basisobj)
Run the code above in your browser using DataLab