simulate_robregcc: Simulated date for testing functions in the robregcc package...

Description Usage Format Details Source Examples

Description

A list of response (y), predictors (X) and sub-cpmposition matrix (C).

Usage

1

Format

A list with three components:

X

Compositional predictors.

y

Outcome with outliers.

C

Sub-cmposition matrix.

Details

Vector y, response with a certain percentage of observations as outliers.

Matrix X, Compositional predictors.

Source

Similated data

Examples

1
2
3
4
5
6
library(robregcc)
data(simulate_robregcc)
X <- simulate_robregcc$X;
y <- simulate_robregcc$y
C <- simulate_robregcc$C
n <- nrow(X); p <- ncol(X); k <-  nrow(C)

robregcc documentation built on July 26, 2020, 1:07 a.m.