getcmat {monoreg}R Documentation

A matrix of point process configurations in p-dimensional covariate space

Description

This function returns a matrix where the rows correspond to each possible point process specification in p-dimensional covariate space; this may be helpful in specifying the argument settozero in the functions monoreg and monosurv.

Usage

getcmat(p)

Arguments

p

Number of covariate axes.

Value

A zero-one matrix with 2^p - 1 rows and p columns.

Author(s)

Olli Saarela <olli.saarela@utoronto.ca>


[Package monoreg version 2.1 Index]