Skip to contents

Calculates the probability coefficient which allow cytotype and stage correlations

Usage

env.copula(rho, generations)

Arguments

rho

Correlation coefficient. Must be a single integer between 0 and 1.

generations

Number of generations to simulate. Must be a numeric value.

Value

A list of two matrix: X and U. Here, X is the matrix which was simulated from a multivariate normal distribution. The U matrix is simply the X matrix transformed into a uniform distribution. Each matrix has 3 columns, one for each cytotype. The length of the matrix matches the number of generations provided.