qgen-internal {qgen}R Documentation

Internal qgen Functions

Description

Internal Qgen functions: ciquality: A function to evaluate the empirical error rate of confidence intervals. chiplot: Plots a diagnostic chiplot interpolation: linear interpolation if (R+1)alpha is not an integer leading: A function that takes an integer (or a vector of integers) and returns a character string (or vector of character strings) with the constan length of 4; with leading zeros colVars: Form column variance for numeric arrays matrixscale: Scales a matrix, which can be a correlation or variance-covariance matrix pcorr: Takes a correlation matrix and returns a partial correlation matrix

Usage

ciquality(ciTypeL, ciTypeU, theta)
chiplot(y, id = FALSE)
interpolation(R, alpha, sort.mat)
leading(x)
colVars(x, na.rm=FALSE, dims=1, unbiased=TRUE,
        SumSquares=FALSE, twopass=FALSE)
matrixscale(Sigma)
pcorr(corr)

Arguments

ciTypeL vector of lower confidence limits
ciTypeU vector of upper confidence limits
theta the known value for the statisitc
y numeric vector
id logical flag: identifying the individual values in the plot
R scalar, the number of resamples
alpha a single number or a vector; indicating the two sided error probability
sort.mat an array with the first dimensions beeing repetitions at the same level, the second dimensions are the sorted values used for interpolation
x an integer; if a numeric value is given, as.integer() is used
x A numeric array (or a dataframe to convert to a matrix).
na.rm Logical: Remove NA's?
dims Number of dimensions to sum over [colSums] or leave alone [rowSums]. Only useful when x is a multidimensional array.
unbiased Logical: Use (N-1) in the denominator when calculating variance?
SumSquares Logical: If TRUE, colVars just returns sums of squares.
twopass Logical: If TRUE, colVars uses the corrected two-pass algorithm of Chan Golub & LeVeque, which is slower but less subject to roundoff error.
Sigma the matrix to be scaled
corr a correlation matrix

Details

These are not to be called by the user (or in some cases are just waiting for proper documentation to be written ;-). colVars() is a suggestion from the R-mailing list.

Author(s)

colVars: Originally by Douglas Bates <bates@stat.wisc.edu> as package "MatUtils". Modified, expanded, and renamed by David Brahm <brahm@alum.mit.edu>, with help of course from the R-help gurus.

References

Davison, A. C. & Hinkley, D. V. (1997) Bootstrap methods and their application. Cambridge University Press.


[Package qgen version 0.03-02 Index]