diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-11-01 12:19:03 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-11-01 12:19:03 +0100 |
commit | bbb74d4f60033899cd5cdd36aa70f157bc52209e (patch) | |
tree | ca0f620ba0ffd59ff242071260d2346e4ca254ff /R/nobs.mkinfit.R | |
parent | 70e48e8360875f22970174d409c46cb3f076fa99 (diff) |
Fix bug in yesterdays release, add methods for BIC
Diffstat (limited to 'R/nobs.mkinfit.R')
-rw-r--r-- | R/nobs.mkinfit.R | 8 |
1 files changed, 8 insertions, 0 deletions
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) |