Learn R Programming

corto (version 1.2.4)

wstouffer: Weighted Stouffer integration of Z scores

Description

This function gives a gaussian Z-score corresponding to the provided p-value Careful: sign is not provided

Usage

wstouffer(x, w)

Value

Z an integrated Z score

Arguments

x

a vector of Z scores

w

weight for each Z score

Examples

Run this code
zs<-c(1,-3,5,2,3)
ws<-c(1,10,1,2,1)
wstouffer(zs,ws)

Run the code above in your browser using DataLab