View source: R/calculate_p_values.R
calculate_p_values | R Documentation |
A function to calculate the p values of differences between sexes and attend/non-attend SAC.
calculate_p_values(drug_name, group, partition, data)
drug_name |
The three letter code for the drug (e.g., pzq, alb, ...). In quotes. |
group |
The code for the group of interest (e.g., "1_SAC", "2_Adults"). In quotes. |
partition |
The variable to determine by what category the data will be split by. In quotes. |
data |
The data from the survey. A dataframe, not in quotes. |
A data frame containing the p values for the different differences for the chosen drug and group.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.