wtcens: Constructor for class 'wtcens'

Description Usage Arguments Value

Description

wtcens returns an object of S3 class wtcens containing the vector of sorted sample values, vector of indicators of non-censoring and a set of individual and/or cummulative weights representing distributions of different components.

Usage

1
wtcens(x, delta, cumm = NULL, indiv = NULL)

Arguments

x

numeric vector containing the sorted sample values.

delta

logical vector of non-censoring indicators

cumm

matrix (or data frame) of cummulative weights of components.

indiv

matrix (or data frame) of individual weights of components.

Value

object of class wtcenswhich contains the following attributes:

xo

vector of sample values sorted in the ascending order with -Inf as the first element.

deltao

vector of non-censoring indicators reordered at the same order as xo.

cumm

matrix of cummulative weigts reordered at the same order as xo with 0 at the first row.

indiv

matrix of individual weigts reordered at the same order as xo.


RostyslavMaiboroda/mixvconc documentation built on June 12, 2019, 12:34 a.m.