-
Notifications
You must be signed in to change notification settings - Fork 3
/
RegionExperience.R
49 lines (47 loc) · 1.43 KB
/
RegionExperience.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
#' @name StateExperience
#'
#' @title State data
#'
#' @seealso\code{\link{RegionExperience}}
#'
#' @usage
#'
#' data(StateExperience)
#'
#' @description
#'
#' Random illustrative data
#'
#' \itemize{
#' \item Region: The name of the region to which the state belongs
#' \item State: The name of the state
#' \item Postal: Two character postal code for the state
#' \item PolicyYear: An integer between 2001 and 2010.
#' \item NumPolicies: Integer giving the number of policies in that region for that policy year
#' \item NumClaims: Integer giving the number of claims in that region for that policy year
#' }
"StateExperience"
#' @name RegionExperience
#'
#' @title Region data
#'
#' @description
#'
#' Consolidation of state data into various regions. The state data was generated randomly as a Poisson sample.
#'
#' \itemize{
#' \item Region: The name of the region
#' \item PolicyYear: An integer between 2001 and 2010
#' \item NumPolicies: Integer giving the number of policies in that region for that policy year
#' \item NumClaims: Integer giving the number of claims in that region for that policy year
#' }
#'
#' @usage
#'
#' data(RegionExperience)
#'
#' @seealso\code{\link{StateExperience}}
"RegionExperience"