setMethod(
"initModelClass", signature(model = "amp"),
function(model) {
model@ncomp <- length(model@amps)
if (length(model@nl) == 0) {
model@ncolc <- array(model@ncomp, 1)
} else {
model@ncolc <- array(model@ncomp, model@nl)
}
model
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.