calculate_p_values: Calculate CES p values

Description Usage Arguments Value

View source: R/calculate_p_values.R

Description

A function to calculate the p values of differences between sexes and attend/non-attend SAC.

Usage

1
calculate_p_values(drug_name, group, partition, data)

Arguments

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.

Value

A data frame containing the p values for the different differences for the chosen drug and group.


gronert-m/sciCoverageR documentation built on Nov. 23, 2020, 10:33 p.m.