#' @include class-definition.R
NULL
#' Set the generic for accessor (getter) for coefficients
#' @param object object of class LinRegP
#' @export
setGeneric("getCoef",
function(object){
standardGeneric("getCoef")
})
#' @describeIn getCoef
#' @export
setMethod("getCoef",
signature = "LinRegP",
function(object){
out <- object@modelCoef[, 1]
return(out)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.