Description Usage Arguments Value

This internal function generates lambda sequence of length `nlamseq`

equally spaced on a logarithmic scale. Since this is for sparse CCA, it returns a list of two vectors. Each vector will be used for each data set *X1* and *X2*. And *w1* and *w2* denote canonical vector for each data set.

1 2 3 4 5 6 7 8 9 | ```
lambdaseq_generate(
nlamseq = 20,
lam.eps = 0.01,
Sigma1,
Sigma2,
Sigma12,
w1init = NULL,
w2init = NULL
)
``` |

`nlamseq` |
The length of lambda sequence |

`lam.eps` |
The smallest value for lambda as a fraction of maximum lambda value |

`Sigma1` |
Covariance/correlation matrix of |

`Sigma2` |
Covariance/correlation matrix of |

`Sigma12` |
Covariance/correlation matrix betweem |

`w1init` |
Initial value for canonical vector |

`w2init` |
Initial value for canonical vector |

`lambdaseq_generate`

returns a list of length 2. Each vector is of the same length `nlamseq`

and will be used for each data set separately.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.