R/func.R

func <- function (x, Z, df, ncp, i2)
{
  x*pnorm(Z*x-ncp*(1-i2)^0.5) * dchisq(df* x^2, df)
}

Try the metapower package in your browser

Any scripts or data that you put into this service are public.

metapower documentation built on Feb. 8, 2021, 5:07 p.m.