reyniplot: Draw sample paths associated with the Renyi test based on the...

View source: R/reyniplot.R

reyniplotR Documentation

Draw sample paths associated with the Renyi test based on the log rank statistic.

Description

Draw sample paths associated with the Renyi test based on the log rank statistic.

Usage

reyniplot(time = NULL, delta = NULL, group = NULL, nsamp = 100, p = 1)

Arguments

time

event/censoring times. If null, hypothetical data set will be censored and plotted.

delta

censoring indicator

group

variable defining group.

nsamp

If time is null, number of random observations.

p

if data are random, gives multiplier for alternative. p=0 for null.

Value

A list with components m for the statistic, x for ordered times, and y for statistic matrix.

Examples

reyniplot(nsamp=20)


kolassa-dev/NonparametricHeuristic documentation built on Nov. 14, 2022, 11:25 p.m.