aboutsummaryrefslogtreecommitdiff
path: root/R/nobs.mkinfit.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/nobs.mkinfit.R')
-rw-r--r--R/nobs.mkinfit.R8
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)

Contact - Imprint