Description Usage Arguments Value
Support function for pstest(), which runs the power calculations that are wrapped in pst_sim(). Sets up objects needed to do power calculation.
1 2 |
nsim |
defaults to 500 |
seed |
set a seed for the generation of matrices needed for the various tests, defaults to 2019 |
n |
defaults to 100 |
p |
defaults to 1000 |
model |
can be specified as 'normal' (default) for linear regression, otherwise does logistic regression |
sigma |
defaults to 1 |
rho |
spatial correlation in G parameter, AR1 structure, defaults to 0.9 |
rs |
investigator-specified set of "contrasts" of G, defaults to c(10, 20, 50) |
A list including spatial correlation parameters, empty dataframes for simresults and powresults, parameters for distribution of SKAT statistic
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.