pilotData {SSPA} | R Documentation

## User friendly interface to class "PilotData"

### Description

User friendly interface to class "PilotData"

### Usage

    pilotData(
      statistics = NULL,
      samplesize = NULL,
      distribution = c("norm", "t", "f", "chisq"),
      ...
    )

### Arguments

`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

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.

### Value

object of class "PilotData"

### Author(s)

Maarten van Iterson

### Examples

    pd <- pilotData(statistics=rnorm(100), samplesize=10, distribution="norm")
    pd
    plot(pd)

[Package SSPA version 2.30.0 Index]