Description Usage Format Usage Methods

Regression beta coefficients obtained from a CPH regression model fitted on the training data are used for building a weighted distance measure between train and test data. Afterwards, we will use these weights for calculating a (n x m)-distance matrix, where n is the number of observations in the training data, and m is the number of observations of the test data. The user can use this distance matrix for further cluster analysis or for extracting for each test observation k (= 1,...,l) similar cases from the train data. We use the rms-package for model fitting, variable selection, and checking model assumptions. If the user omits the test data, this functions returns a n x n-distance matrix.

1 |

A `R6Class`

generator object

For usage details see **Methods, Arguments, and Examples** sections.

`new(formula, ...)`

This method is used to create an object of this class

`CoxBetaModel`

. Formula for analysis has to be provided.`fit(dtData)`

Fits the CPH model.

- ...
See CBRBase class.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.