Learn R Programming

interval (version 1.1-1.0)

interval-internal: Internal functions

Description

Functions mostly called by ictest. Not to be directly called by user.

Usage

icScoreTest(icFIT, group, scores, alternative = "two.sided", tol.svd = 10^-8)
icWSR(fit, group, scores, alternative, type, control)
wsrHLYpclt(A, p, x, group, alternative, nwsr, type, RHO)
wsrMC(A, p, x, group, alternative, nwsr, np, digits = 12)
scoresFromFit(icFIT, scores, dqfunc=NULL)
icfitBootCI(L,R,conf.level=.95,B=100,timeEpsilon=10^-8,seed=19439101,messages=TRUE,...)

Arguments

icFIT

icfit object from all the data

group

group vector, either numeric or character

scores

either 'logrank1', 'logrank2', or 'wmw'

alternative

either 'less','greater','two.sided', or 'two.sidedAbs'

tol.svd

small number, values less than that set to zero in svd

fit

icfit object from all the data

type

either 'wsr.pclt','wsr.HLY', or 'wsr.mc'

control

list passing options to function, see mControl

nwsr

number of within subject resamples

np

number of permutation replications within each wsr

digits

for ties, treat values as tied when matched to this number of digits

A

A matrix from icfit object on all data

p

pf vector from icfit object on all data

x

vector of scores associated with each value of p

dqfunc

function, density of the results of the quantile function, e.g., function(x)dnorm(qnorm(x)) (used for 'general' scores, see ictest)

L

left endpoints

R

right endpoints

conf.level

confidence level for two-sided confidence interval

B

number of bootstrap replications

timeEpsilon

small amount of time added or subtracted from times, for plotting confidence intervals

seed

numeric, if non-NULL then calls set.seed for bootstrap so it will be repeatable.