Nothing
shock <- setClass(
"shock",
representation(
timeinc = "numeric",
inc = "matrix",
Time = "numeric"
)
)
setMethod("plot",
signature(x = "shock", y = "missing"),
function (x, y, ...)
{
matplot(cumsum(x@timeinc), apply(x@inc, 2, cumsum), type="s", xlab="t", ylab="", xlim=c(0, x@Time), ...)
}
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.