From 73ad468654e9ad617c9fec1f9cef5d39b873e720 Mon Sep 17 00:00:00 2001 From: WANG Zhiwei <48282751+statwangz@users.noreply.github.com> Date: Tue, 12 Sep 2023 13:58:03 +0800 Subject: [PATCH] Update README --- README.Rmd | 13 +++++++++++-- README.md | 15 ++++++++++++--- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/README.Rmd b/README.Rmd index 07b68aa..8891b5f 100644 --- a/README.Rmd +++ b/README.Rmd @@ -18,6 +18,7 @@ knitr::opts_chunk$set( [![Codecov test coverage](https://codecov.io/gh/YangLabHKUST/mfair/branch/main/graph/badge.svg)](https://app.codecov.io/gh/YangLabHKUST/mfair?branch=main) [![R-CMD-check](https://github.com/YangLabHKUST/mfair/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/YangLabHKUST/mfair/actions/workflows/R-CMD-check.yaml) +[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FYangLabHKUST%2Fmfair&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com) The R package `mfair` implements the methods based on the paper [MFAI: A scalable Bayesian matrix factorization approach to leveraging auxiliary information](https://doi.org/10.48550/arXiv.2303.02566). @@ -26,14 +27,22 @@ The parameters in MAFI can be automatically determined under the empirical Bayes ## Installation -You can install the development version of `mfair` from [GitHub](https://github.com/) with: +For a quick start, you can install the development version of `mfair` from [GitHub](https://github.com/) with: + +``` r +# install.packages("devtools") +devtools::install_github("YangLabHKUST/mfair") +``` + +For more illustration and examples, you can alternatively use: ``` r # install.packages("devtools") devtools::install_github("YangLabHKUST/mfair", build_vignettes = TRUE) ``` -Please note that it can take several minutes to build the vignettes. +to build vignettes simultaneously. +Please note that it can take a few more minutes. ## Examples diff --git a/README.md b/README.md index 7d283f9..abd2cab 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ [![Codecov test coverage](https://codecov.io/gh/YangLabHKUST/mfair/branch/main/graph/badge.svg)](https://app.codecov.io/gh/YangLabHKUST/mfair?branch=main) [![R-CMD-check](https://github.com/YangLabHKUST/mfair/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/YangLabHKUST/mfair/actions/workflows/R-CMD-check.yaml) +[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FYangLabHKUST%2Fmfair&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://hits.seeyoufarm.com) The R package `mfair` implements the methods based on the paper [MFAI: A @@ -21,15 +22,23 @@ information and immune to overfitting. ## Installation -You can install the development version of `mfair` from -[GitHub](https://github.com/) with: +For a quick start, you can install the development version of `mfair` +from [GitHub](https://github.com/) with: + +``` r +# install.packages("devtools") +devtools::install_github("YangLabHKUST/mfair") +``` + +For more illustration and examples, you can alternatively use: ``` r # install.packages("devtools") devtools::install_github("YangLabHKUST/mfair", build_vignettes = TRUE) ``` -Please note that it can take several minutes to build the vignettes. +to build vignettes simultaneously. Please note that it can take a few +more minutes. ## Examples