sta {qgen}R Documentation

Calculates the specified statistic on all replications of one resampling level

Description

This function takes the name of one file and applies the selected function to all replications of the same resampling level.

Usage

sta(filename= "",
    statistic.name,
    alpha = 0.05,
    transformation = "none",
    file=TRUE,
    path = "~/qgen/")

Arguments

filename character string indicating the name of the file (all files of this resampling level will then be chosen!)
alpha number indicating the two sided error probability
statistic.name indicate a function that calculates the statistic you are interested in (e.g. stat1)
transformation character string indicating the transformation that should be applied on the statistic to calculate bootstrap confidence intervals ("logodds", "asin", "fisher")
file logical flag: Should the object be written to a file
path indicating the path where the files should be read and the written

Details

This function is used to calculate a selected statistic from all paraDATA-objects within the indicated file. It automatically applies the same statistic to all paraDATA-objects on the same replication level, even if they are stored in different files.

Value

multi an object of class multi.

stored in a file within the selected path called "statT.rda", "statS.rda", "statR.rda", "statQ.rda", depending on the resampling level.

Examples

##

[Package qgen version 0.03-02 Index]