R/examineGOF.R

Defines functions examineGOF

Documented in examineGOF

###TODO:: Determine type of objects intended for this function
#' Getter for attributes of an object
#'
#' @param pars The object for which attributes are to be returned
#' @return A named vector where index `Rsquare` contains the attributes of the object
#' @export
examineGOF <- function(pars) {
	return(c("Rsquare" = attr(pars, "Rsquare")))
}

### If more GOF stats are implemented, they can be added above

Try the CoreGx package in your browser

Any scripts or data that you put into this service are public.

CoreGx documentation built on Dec. 20, 2019, 1:08 a.m.