# A.R - DESC
# A.R
#' @name myClass
#' @rdname myClass
#' @title Help for myClass
#' @docType class
#' @aliases myClass myClass-class
#' @description
#' Help for myClass
#' @slot slot An array
setClass("myClass", representation(slot="array"))
#' @name myMethod
#' @rdname myMethod
#' @title Help for myMethod
#' @docType methods
#' @aliases myMethod,myClass-method
#' @description
#' Help for myMethod
setMethod("myMethod", signature(x="myClass"),
function(x) {
return(sum(x@slot, na.rm=TRUE))
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.