Learn R Programming

RegCombin (version 0.4.1)

tabulate_values: Function to tabulate the values the common regressors Xc whatever the dimension.

Description

Function to tabulate the values the common regressors Xc whatever the dimension.

Usage

tabulate_values(k, values, Xc0, dimXc)

Value

a matrix of the number of times the kth value in the vector values appears.

Arguments

k

the considered value in "values"

values

the different unique points of support of the common regressor Xc.

Xc0

dataset containing Xc, the common regressors.

dimXc

the dimension of Xc