From 34d72a779b2157c02c37eb89e9b82b93948bad61 Mon Sep 17 00:00:00 2001 From: Melantha Wang Date: Fri, 1 Oct 2021 15:56:41 +1000 Subject: [PATCH] Fix formatting --- SPLICE/.Rhistory | 28 ++++++++++++++-------------- SPLICE/vignettes/SPLICE-demo.Rmd | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/SPLICE/.Rhistory b/SPLICE/.Rhistory index 965902e..faf0479 100644 --- a/SPLICE/.Rhistory +++ b/SPLICE/.Rhistory @@ -1,17 +1,3 @@ -# Inflated INCREMENTAL triangle -incurred_inflated <- output_incurred(test_inflated, incremental = TRUE) -incurred_inflated_yr <- output_incurred(test_inflated, incremental = TRUE, -future = FALSE) -incurred_inflated_yr <- output_incurred(test_inflated, incremental = TRUE, -aggregate_level = 4) -View(incurred_inflated_yr) -# Inflated CUMULATIVE triangle -incurred_inflated <- output_incurred(test_inflated, incremental = FALSE) -incurred_inflated_yr <- output_incurred(test_inflated, incremental = FALSE, -aggregate_level = 4) -# Inflated CUMULATIVE triangle -incurred_inflated <- output_incurred(test_inflated, incremental = FALSE) -View(incurred_inflated) View(incurred_inflated) View(incurred_inflated_yr) sum(incurred_inflated[, 40]) @@ -510,3 +496,17 @@ document() ?claim_majRev document() ?claim_minRev +?person +library(devtools) +document() +document() +document() +document() +?claim_minRev +?person +document() +??SPLICE +?SPLICE-pkg +?SPLICE-package +??SPLICE-package +citation("cascsim") diff --git a/SPLICE/vignettes/SPLICE-demo.Rmd b/SPLICE/vignettes/SPLICE-demo.Rmd index 58a7f4a..404435f 100644 --- a/SPLICE/vignettes/SPLICE-demo.Rmd +++ b/SPLICE/vignettes/SPLICE-demo.Rmd @@ -77,11 +77,11 @@ In particular, `claim_majRev_freq()` sets up the structure of the major revision ------------------------------------------------------------------------------- Name Description ----------------- ------------------------------------------------------------ -`majRev_freq` Number of major revisions of incurred loss; see [`claim_majRev_freq()`](#majRev_freq) +`majRev_freq` Number of major revisions of incurred loss; see [`claim_majRev_freq()`](#majRev_freq) `majRev_time` Time of major revisions (from claim notification); see [`claim_majRev_time()`](#majRev_time) -`majRev_factor` Major revision multiplier of **incurred loss**; see [`claim_majRev_size()`](#majRev_size) +`majRev_factor` Major revision multiplier of **incurred loss**; see [`claim_majRev_size()`](#majRev_size) `majRev_atP` An indicator, `1` if the last major revision occurs at the time of the last major payment (i.e. second last payment), `0` otherwise; see [`claim_majRev_time()`](#majRev_time)