simgpval | R Documentation |
Simulates Gaussian P-values
simgpval(y,x,i,nsim,qq=-1,plt=TRUE)
y |
Dependent variable |
x |
Covariates |
i |
The chosen covariate |
nsim |
The number of simulations |
qq |
The total number of covariates available |
plt |
Logical, if TRUE the F P-values of the Gaussian covariates are ordered and plotted |
pvg P-value of x_i and relative frequency
data(snspt)
snspt<-matrix(snspt,nrow=3253,ncol=1)
a<-flag(snspt,3253,1,12)
simgpval(a[[1]],a[[2]],7,10,plt=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.