R/erase_fit.R

Defines functions erase_fit

Documented in erase_fit

#' Erase the sevt fit
#'
#' @param object an object of class \code{sevt}
#' @return an object of class \code{sevt} without
#'         \code{prob} and \code{ll} field.
#' @keywords internal
erase_fit <- function(object) {
  object$ll <- NULL
  object$prob <- NULL
  return(object)
}

Try the stagedtrees package in your browser

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

stagedtrees documentation built on May 29, 2024, 12:33 p.m.