give_x_matrix: Give a X (covariate) matrix for a scenario in which each...

View source: R/helper_functions.R

give_x_matrixR Documentation

Give a X (covariate) matrix for a scenario in which each patient contributes to two samples, and the samples are sorted by group, then by patient.

Description

Give a X (covariate) matrix for a scenario in which each patient contributes to two samples, and the samples are sorted by group, then by patient.

Usage

give_x_matrix(n_times_2)

Arguments

n_times_2:

the number of samples times two

Value

the X matrix


lm687/CompSign documentation built on Feb. 1, 2024, 4:41 p.m.