unicorns | R Documentation |
A preliminary study was conducted in which a random sample of 6,000 properly consented [unicorns](https://www.britannica.com/topic/unicorn) were recruited from 20 clinics. Each unicorn was asked seven questions about their behavior and health. Unicorns responded by stomping a hoof once to indicate "no", and twice to indicate "yes". A sample of venous blood was drawn from each, and was subsequently tested for the presence of antibodies to Unicorn Immunodeficiency Virus (UIV) using a standard assay algorithm.
data(unicorns)
A data frame with eight columns:
ID
Patient ID
Q1
Response to screening question 1 (0 = "no", 1 = "yes")
Q2
Response to screening question 2 (0 = "no", 1 = "yes")
Q3
Response to screening question 3 (0 = "no", 1 = "yes")
Q4
Response to screening question 4 (0 = "no", 1 = "yes")
Q5
Response to screening question 5 (0 = "no", 1 = "yes")
Q6
Response to screening question 6 (0 = "no", 1 = "yes")
Q7
Response to screening question 7 (0 = "no", 1 = "yes")
testresult
UIV status, where 0 and 1 denote negative and positive test results, repectively.
In reality, the question responses and test results were generated using Bernoulli random-number generators.
## Not run: head(unicorns) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.