simgpval: Simulates Gaussian P-values

View source: R/simgpval.R

simgpvalR Documentation

Simulates Gaussian P-values

Description

Simulates Gaussian P-values

Usage

simgpval(y,x,i,nsim, plt=TRUE)

Arguments

y

Dependent variable

x

Covariates

i

The chosen covariate

nsim

Number of simulations

plt

Logical, if TRUE the F P-values of the Gaussian covariates are ordered and plotted

Value

pvg P-value of x_i and relative frequency

Examples

data(snspt)
a<-flag(snspt,3253,1,12)
simgpval(a[[1]],a[[2]],7,10,plt=FALSE)

gausscov documentation built on Oct. 12, 2023, 1:06 a.m.

Related to simgpval in gausscov...