Nothing
#' Simulated dataset of medication choice.
#'
#' A simulated dataset containing 10,000 stated medication choices among four alternatives.
#'
#' This dataset is to be used for discrete choice modelling.
#' Data comes from 1,000 individuals, each with ten stated
#' choice (SC) scenarios involving a choice among headache medication.
#' There are 10,000 choices in total. Data is simulated.
#' Each observation contains attributes of the alternatives,
#' characteristics of the respondent, and their answers to
#' four attitudinal questions. All four alternatives are
#' always available for all individuals. Alternatives 1 and
#' 2 are branded, while alternatives 3 and 4 are generic.
#' Respondents provide a full ranking of alternatives for
#' each choice task (i.e. observation).
#' @format A data.frame with 10,000 rows and 33 variables:
#' \describe{
#' \item{ID}{Numeric. Identification number of the individual.}
#' \item{task}{Numeric. Index of choice situations for each individual, going from 1 to 10.}
#' \item{best}{Numeric. Index of alternative selected as best option.}
#' \item{second_pref}{Numeric. Index of alternative selected as second-best option.}
#' \item{third_pref}{Numeric. Index of alternative selected as third-best option.}
#' \item{worst}{Numeric. Index of alternative selected as worst option.}
#' \item{brand_1}{Character. Brand for alternative 1.}
#' \item{country_1}{Character. Country of origin for alternative 1.}
#' \item{char_1}{Character. Characteristics of alternative 1 (standard, fast acting, or double strength).}
#' \item{side_effects_1}{Numeric. Chance of suffering negative side effects with alternative 1 (out of 100,000).}
#' \item{price_1}{Numeric. Cost of alternative 1 in Pounds sterling (GBP).}
#' \item{brand_2}{Character. Brand for alternative 2.}
#' \item{country_2}{Character. Country of origin for alternative 2.}
#' \item{char_2}{Character. Characteristics of alternative 2 (standard, fast acting, or double strength).}
#' \item{side_effects_2}{Numeric. Chance of suffering negative side effects with alternative 2 (out of 100,000).}
#' \item{price_2}{Numeric. Cost of alternative 2 in Pounds sterling (GBP).}
#'
#' \item{brand_3}{Character. Brand for alternative 3.}
#' \item{country_3}{Character. Country of origin for alternative 3.}
#' \item{char_3}{Character. Characteristics of alternative 3 (standard, fast acting, or double strength).}
#' \item{side_effects_3}{Numeric. Chance of suffering negative side effects with alternative 3 (out of 100,000).}
#' \item{price_3}{Numeric. Cost of alternative 3 in Pounds sterling (GBP).}
#'
#' \item{brand_4}{Character. Brand for alternative 4.}
#' \item{country_4}{Character. Country of origin for alternative 4.}
#' \item{char_4}{Character. Characteristics of alternative 4 (standard, fast acting, or double strength).}
#' \item{side_effects_4}{Numeric. Chance of suffering negative side effects with alternative 4 (out of 100,000).}
#' \item{price_4}{Numeric. Cost of alternative 4 in Pounds sterling (GBP).}
#' \item{regular_user}{Numeric. 1 if the respondent is a regular user of headache medicine, 0 otherwise.}
#' \item{university_educated}{Numeric. 1 if the respondent holds a university degree, 0 otherwise.}
#' \item{over_50}{Numeric. 1 if the respondent is 50 years old or older, 0 otherwise.}
#' \item{attitude_quality}{Numeric. Level of agreement from 1 (strongly disagree) to 5 (strongly agree) with the phrase 'I am concerned about the quality of drugs developed by unknown companies'.}
#' \item{attitude_ingredients}{Numeric. Level of agreement from 1 (strongly disagree) to 5 (strongly agree) with the phrase 'I believe that ingredients are the same no matter what brand'.}
#' \item{attitude_patent}{Numeric. Level of agreement from 1 (strongly disagree) to 5 (strongly agree) with the phrase 'The original patent holders have valuable experience with their medicines'.}
#' \item{attitude_dominance}{Numeric. Level of agreement from 1 (strongly disagree) to 5 (strongly agree) with the phrase 'I believe the dominance of big pharmaceutical companies is unhelpful'.}
#' }
#' @source \url{http://www.apollochoicemodelling.com/}
"apollo_drugChoiceData"
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.