Skip to content

Commit

Permalink
Extra arguments documented.
Browse files Browse the repository at this point in the history
  • Loading branch information
gpitt71 committed Apr 18, 2024
1 parent 60d1bb6 commit 8f1fb9e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
5 changes: 4 additions & 1 deletion R/plotresidualsclmplusmodel.R → R/plotclmplusmodel.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
#'
#' @param clmplusmodel clmplusmodel object to be plotted.
#' @param heat.lim limits in the residuals plot.
#' @param ... Extra arguments to be passed to the plot function.
#'
#' @examples
#' data(sifa.mtpl)
#' sifa.mtpl.rtt <- AggregateDataPP(cumulative.payments.triangle=sifa.mtpl)
Expand All @@ -19,7 +21,8 @@
#'
#' @export
plot.clmplusmodel <- function(clmplusmodel,
heat.lim=c(-2.5,2.5)){
heat.lim=c(-2.5,2.5),
...){

if((clmplusmodel$apc_input$hazard.model %in% names(pkg.env$models))|(clmplusmodel$apc_input$hazard.model=="user.defined")){

Expand Down
1 change: 1 addition & 0 deletions R/predictclmplusmodel.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#' @param gk.order \code{integer}, order of the arima model with drift for the accident year effect extrapolation. Default to (1,1,0).
#' @param ckj.order \code{integer}, order of the arima model with drift for the calendar year effect extrapolation. Default to (0,1,0).
#' @param forecasting_horizon \code{integer}, between 1 and the triangle width. Calendar periods ahead for the predictions. Default predictions are to run-off.
#' @param ... Extra arguments to be passed to the predict function.
#'
#' @return Returns the following output:
#'
Expand Down
6 changes: 4 additions & 2 deletions man/plot.clmplusmodel.Rd

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

2 changes: 2 additions & 0 deletions man/predict.clmplusmodel.Rd

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

0 comments on commit 8f1fb9e

Please sign in to comment.