powered by
Simulates Gaussian P-values
simgpval(y,x,i,nsim, plt=TRUE)
pvg P-value of x_i and relative frequency
Dependent variable
Covariates
The chosen covariate
Number of simulations
Logical, if TRUE the F P-values of the Gaussian covariates are ordered and plotted
data(snspt) a<-flag(snspt,3253,1,12) simgpval(a[[1]],a[[2]],7,10,plt=FALSE)
Run the code above in your browser using DataLab