This function is used to fit a Bayesian sparse latent factor model to a directory of numeric matrices.

1 2 3 |

`path` |
path to read the matrices from |

`recursive` |
if the function should look recursively inside folders |

`a` |
prior shape parameter for Gamma distribution |

`b` |
prior scale parameter for Gamma distribution |

`gamma_a` |
prior parameter for Beta distribution |

`gamma_b` |
prior parameter for Beta distribution |

`omega_0` |
prior variance of the spike component |

`omega_1` |
prior variance of the slab component |

`sample` |
sample size after burn-in |

`burnin` |
burn-in size |

`lag` |
lag for MCMC |

`degenerate` |
use the degenerate version of mixture |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.