Description Usage Arguments Value Foo functions Examples

View source: R/ajive_decomposition.R

The ajive package provides functions to do: foo, bar and baz.

Computes the JIVE decomposition.

1 |

`blocks` |
List. A list of the data matrices. |

`initial_signal_ranks` |
Vector. The initial signal rank estimates. |

`full` |
Boolean. Whether or not to store the full J, I, E matrices or just their SVDs (set to FALSE to save memory). |

The JIVE decomposition.

The foo functions ...

1 2 3 4 5 6 7 8 | ```
blocks <- sample_toy_data(n=200, dx=100, dy=500)
initial_signal_ranks <- c(2, 2)
jive_decomp <- ajive(blocks, initial_signal_ranks)
joint_scores <- jive_decomp[['joint_scores']]
J_1 <- jive_decomp[[1]][['joint']][['full']]
U_individual_2 <- jive_decomp[[2]][['individual']][['u']]
individual_rank_2 <- jive_decomp[[2]][['individual']][['rank']]
``` |

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.