expand.poly <- function(x, nbasis) {
nbasis#nbasis <- check.nbasis.poly(x, nbasis)
# generate basis exansion PSI of order 1 to nbasis
PSI <- outer(x, 1:nbasis, "^")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.