From bbb74d4f60033899cd5cdd36aa70f157bc52209e Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Fri, 1 Nov 2019 12:19:03 +0100 Subject: Fix bug in yesterdays release, add methods for BIC --- R/nobs.mkinfit.R | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 R/nobs.mkinfit.R (limited to 'R/nobs.mkinfit.R') diff --git a/R/nobs.mkinfit.R b/R/nobs.mkinfit.R new file mode 100644 index 00000000..0e0dbbbb --- /dev/null +++ b/R/nobs.mkinfit.R @@ -0,0 +1,8 @@ +#' Number of observations on which an mkinfit object was fitted +#' +#' @importFrom stats nobs +#' @param object An mkinfit object +#' @param \dots For compatibility with the generic method +#' @return The number of rows in the data included in the mkinfit object +#' @export +nobs.mkinfit <- function(object, ...) nrow(object$data) -- cgit v1.2.1