R/travel_insurance.R

#' Travel insurance data
#'
#' @description The travel insurance dataset.
#'
#' @docType data
#'
#' @usage travel_insurance
#'
#' @format data.frame, 10000 observations of 7 variables:
#' \describe{
#'   \item{Distance}{Distance traveled in trip, in km}
#'   \item{Duration}{Number of nights spent on trip}
#'   \item{Reason}{Main reason for the trip. Vacation includes holiday, leisure, or recration. Visit includes visiting friends or relatives.}
#'   \item{Age}{Age of adult survey respondent in six age bins. 1: 19-24, 2: 25-34, 3: 35:44, 4: 45:54, 5: 55-64, 6: 65+}
#'   \item{Others}{Number of other persons that accompanied the respondent on the trip}
#'   \item{Mode}{Main mode of transportation, car or plane}
#'   \item{Cost}{Total spending on trip, in Canadian $}
#' }
#'
#' @keywords datasets
#'
#'
#'
"travel_insurance"

Try the ExamPAData package in your browser

Any scripts or data that you put into this service are public.

ExamPAData documentation built on Oct. 23, 2021, 5:07 p.m.