R/nobs-SVC_mle.R

Defines functions nobs.SVC_mle

Documented in nobs.SVC_mle

#' @title Extract Number of Observations
#'
#' @description Method to extract the number of observations used in MLE for an \code{\link{SVC_mle}} object.
#'
#' @param object \code{\link{SVC_mle}} object
#' @param ...    further arguments
#'
#' @return an integer of number of observations
#'
#' @author Jakob Dambon
#'
#' @importFrom stats nobs
#' @export
nobs.SVC_mle <- function(object, ...) {
  length(object$data$y)
}

Try the varycoef package in your browser

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

varycoef documentation built on Sept. 18, 2022, 1:07 a.m.