Learn R Programming

monoreg (version 2.1)

getcmat: 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)

Value

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

Arguments

p

Number of covariate axes.

Author

Olli Saarela <olli.saarela@utoronto.ca>