Skip to content

Commit

Permalink
Moved predict ellipsis to back. Resolves #13
Browse files Browse the repository at this point in the history
  • Loading branch information
niekdt committed Jan 5, 2021
1 parent 00caafc commit 6f45030
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions R/model.R
Original file line number Diff line number Diff line change
Expand Up @@ -710,9 +710,7 @@ nobs.lcModel = function(object, ...) {
#' # Prediction matrix for id S1 for all clusters
#' predIdAll <- predict(model, newdata = data.frame(Id = "S1", Time = time(model)))
#' @family model-specific methods
predict.lcModel = function(object, ...,
newdata = NULL,
what = 'mu') {
predict.lcModel = function(object, newdata = NULL, what = 'mu', ...) {
# special case for when no newdata is provided
if (is.null(newdata)) {
newdata = model.data(object)
Expand Down
6 changes: 3 additions & 3 deletions man/predict.lcModel.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6f45030

Please sign in to comment.