View source: R/make_VCV_matrix.R
vcalc | R Documentation |
Function for calculating the covariance based on large-sample approximations for various effect size estimates.
vcalc(m, sd, n, p1, data, cov_type = c("ROM", "LOR"))
m |
Mean of the control group that is shared. Only used when vcal does not equal "none". |
sd |
Standard deviation of the control group that is shared. Only used when vcal does not equal "none". |
n |
Sample size of the control group that is shared.Only used when vcal does not equal "none". |
p1 |
The row indicator for the shared control. |
data |
Dataframe object containing effect sizes, their variance, unique IDs and clustering variable |
cov_type |
The type of covariance to be calculated. Currently calculations for log response ratio ("ROM"), and log odds ratio (LOR) are available. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.