\dontrun{#REX
library(psd)
##
## psd working environment
##
# Get some status information about the psd working environment
psd_envStatus()
# Get a list of all variables
psd_envList()
# Pull the variable "init" into .GlobalEnv
print(x <- psd_envGet("init"))
# Pull the adaptive history into .GlobalEnv
set.seed(1234)
X <- rnorm(1e3)
pspectrum(X)
get_adapt_history()
}#REX
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.