R/plot.cmarrt.R

Defines functions plotcmarrt

Documented in plotcmarrt

plotcmarrt <- function(cmarrt.ma, freq=FALSE){
	par(mfrow=c(2,2))
	hist(cmarrt.ma$pv.indep,main='Under independence',freq=freq,xlab='p-values')
	hist(cmarrt.ma$pv.cmarrt,main='Under correlation',freq=freq,xlab='p-values')
	qqnorm(cmarrt.ma$z.indep,main='Under independence',pch='.')
	abline(0,1)
	qqnorm(cmarrt.ma$z.cmarrt,main='Under correlation',pch='.')
	abline(0,1)
}

Try the Starr package in your browser

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

Starr documentation built on April 28, 2020, 7:52 p.m.