Description Usage Arguments Details Value Author(s) Examples
View source: R/PilotDataClass.R
User friendly interface to class "PilotData"
1 2 3 4 5 6 |
statistics |
vector of test statistics |
samplesize |
total sample size of the pilot-data or effective sample size in two-group case (see Details for more information). |
distribution |
type of the null/alternative distribution, one of 'norm', 't', 'f' or 'chisq' |
... |
additional arguments for the distribution like degrees of freedom |
details follow In the two-group case the effective sample size is defined as the square-root of the inverse of 1/n1 + 1/n2.
object of class "PilotData"
Maarten van Iterson
1 2 3 | pd <- pilotData(statistics=rnorm(100), samplesize=10, distribution="norm")
pd
plot(pd)
|
Loading required package: qvalue
Loading required package: lattice
Loading required package: limma
Formal class 'PilotData' [package "SSPA"] with 5 slots
..@ statistics : num [1:100] -0.902 -0.994 0.971 -0.976 1.341 ...
..@ samplesize : num 10
..@ pvalues : num [1:100] 0.367 0.32 0.331 0.329 0.18 ...
..@ distribution: chr "norm"
..@ args : list()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.