is.basis <- function(basisobj) {
# check whether BASISOBJ is a functional data basis object
# Last modified 20 November 2005
if (inherits(basisobj, "basisfd")) return(TRUE) else return(FALSE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.