Fit a frequentist model
frequentist.RdFits a frequentist model with netmeta::netmeta()
Usage
frequentist(
non_covariate_data,
outcome,
treatments,
outcome_measure,
effects,
reference_treatment
)Arguments
- non_covariate_data
Input dataset with any covariates removed.
- outcome
character. Outcome type for the dataset. Either
binaryorcontinuous.- treatments
dataframe. Treatments
- outcome_measure
character. Outcome measure of the dataset. Either
OR,RRorRDwhenoutcomeisbinaryorMDorSMDwhenoutcomeiscontinuous- effects
character. Type of model to fit, either
randomorfixed- reference_treatment
character. The reference treatment of the dataset