In my work I use both STATA and R. Currently I want to perform a dose-response meta-analysis and use the "dosresmeta" package in R. The following syntax is used:
DRMeta <- dosresmeta(
formula = logRR ~ dose,
type = type,
cases = n_cases,
n = n,
lb = RR_lo,
ub = RR_hi,
id = ID,
data = DRMetaAnalysis
)
When executing this syntax, however, I encounter a problem. The error message appears:
Error in if (delta < tol) break : missing value where TRUE/FALSE needed.
The reason for this error message is that I am missing some values for the variables "n_cases" and "n", which the authors have not provided. Interestingly, STATA does not require this information for the calculation of the dose-response meta-analysis.
Is there a way to perform the analysis in R without requiring the values for "n_cases" and "n"? What can I do if I have not given these values?
I have already asked the authors for the missing values, unfortunately without success. However, I need these studies for the dose-response meta-analysis, so it is not an option to exclude them.