lpls.sim: Function for simulating data for testing the lpls-code

Description Usage Arguments Value Author(s) Examples

View source: R/lpls.sim.R

Description

This function simulates three matrices suitable as input to lpls-regression.

Usage

1
lpls.sim(q = 5, n = 30, p = 20, m = 6, comps = 2)

Arguments

q

Number of columns of X1

n

Number of rows of X1 and X2

p

Number of columns of X2 and rows of X3

m

Number of columns of X3

comps

Number of relevant components.

Value

A list containing X1, X2 and X3.

Author(s)

Solve Saebo

Examples

1
testdata <- lpls.sim()

solvsa/lpls documentation built on May 30, 2019, 6:10 a.m.