Description Usage Format Attributes Examples
A sample YELT (year event loss table) to test layers functions on.
The YELT dataframe must have trial_count and lobs attributes to work with the
layers functions.
1 |
A data frame with 127648 rows and 5 variables:
trialIDIdentifier for the trial, which represents one year
LOBLine of business or other segmentation
LossLoss amount
SequenceSequence of loss within trial
num_trialsThe number of trials
lobsThe lines of business
1 2 3 | aggregate(yelt_test["Loss"], yelt_test["LOB"], sum)
attributes(yelt_test)
attributes(yelt_test)[c("lobs", "trial_count")]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.