toy_df: Simulated Target Data for cPCA and scPCA

toy_dfR Documentation

Simulated Target Data for cPCA and scPCA

Description

The toy data consisting of 400 observations and 31 variables was simulated as follows:

  • Each of the first 10 variables was drawn from $N(0, 10)$

  • For group 1 and 2, variables 11 through 20 were drawn from $N(0, 1)$

  • For group 3 and 4, variables 11 through 20 were drawn from $N(3, 1)$

  • For group 1 and 3, variables 21 though 30 were drawn from $N(-3, 1)$

  • For group 2 and 4, variables 21 though 30 were drawn from $N(0, 1)$

  • The last column provides each observations group number

Usage

data(toy_df)

Format

A simple data.frame.

Examples

data(toy_df)

PhilBoileau/scPCA documentation built on Feb. 6, 2024, 3:33 p.m.