getcmat: A matrix of point process configurations in p-dimensional...

View source: R/monoreg.R

getcmatR 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>


monoreg documentation built on April 30, 2023, 5:12 p.m.

Related to getcmat in monoreg...