Skip to contents

Log Response Ratio (lnRR)

Usage

lnRR(
  type,
  data,
  col_names = c("yi", "vi"),
  append = TRUE,
  Ctrl_mean,
  Ctrl_sd,
  Ctrl_n,
  A_mean,
  A_sd,
  A_n,
  B_mean = NULL,
  B_sd = NULL,
  B_n = NULL,
  AB_mean = NULL,
  AB_sd = NULL,
  AB_n = NULL
)

Arguments

type

Type of effect size: "ind", "main", or "inter"

data

Data frame with the data

col_names

Vector of two strings to name the output columns for the effect size and it's sampling variance. Default is 'yi' and 'vi'.

append

Logical. Append the results to data. Default is TRUE

Ctrl_mean

Mean outcome from the Control treatment

Ctrl_sd

Standard deviation from the control treatment

Ctrl_n

Sample size from the control streatment

A_mean

Mean outcome from the treatment

A_sd

Standard deviation from the treatment

A_n

Sample size from the treatment

B_mean

Mean outcome from the B treatment

B_sd

Standard deviation from the B treatment

B_n

Sample size from the B treatment

AB_mean

Mean outcome from the interaction AxB treatment

AB_sd

Standard deviation from the interaction AxB treatment

AB_n

Sample size from the interaction AxB treatment

Author

Facundo Decunta - fdecunta@agro.uba.ar