Skip to content

Commit

Permalink
add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SpatLyu committed Dec 4, 2024
1 parent d443abe commit 4c19181
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
^docs$
^pkgdown$
^\.github$
^README\.Rmd$
53 changes: 53 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
---
output: github_document
---

<!-- README.md is generated from README.Rmd. Please edit that file -->

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "##",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# HSAR

<!-- badges: start -->
[![CRAN](https://www.r-pkg.org/badges/version/HSAR)](https://CRAN.R-project.org/package=HSAR)
[![DownloadsAll](https://badgen.net/cran/dt/HSAR?color=orange)](https://CRAN.R-project.org/package=HSAR)
[![DownloadsMonth](https://cranlogs.r-pkg.org/badges/HSAR)](https://CRAN.R-project.org/package=HSAR)
[![R-universe](https://spatlyu.r-universe.dev/badges/HSAR?color=cyan)](https://spatlyu.r-universe.dev/HSAR)
<!-- badges: end -->

**Hierarchical Spatial Simultaneous Autoregressive Model (HSAR)**

## Installation

- Install from [CRAN](https://CRAN.R-project.org/package=HSAR) with:

``` r
install.packages("HSAR", dep = TRUE)
```

- Install development binary version from [R-universe](https://spatlyu.r-universe.dev/HSAR) with:

``` r
install.packages('HSAR',
repos = c("https://spatlyu.r-universe.dev",
"https://cloud.r-project.org"),
dep = TRUE)
```

- Install development source version from [GitHub](https://github.com/spatlyu/HSAR) with:

```r
if (!requireNamespace("devtools")) {
install.packages("devtools")
}
devtools::install_github("spatlyu/HSAR",
build_vignettes = TRUE,
dep = TRUE)
```
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@

<!-- README.md is generated from README.Rmd. Please edit that file -->

# HSAR

<!-- badges: start -->

[![CRAN](https://www.r-pkg.org/badges/version/HSAR)](https://CRAN.R-project.org/package=HSAR)
[![DownloadsAll](https://badgen.net/cran/dt/HSAR?color=orange)](https://CRAN.R-project.org/package=HSAR)
[![DownloadsMonth](https://cranlogs.r-pkg.org/badges/HSAR)](https://CRAN.R-project.org/package=HSAR)
[![R-universe](https://spatlyu.r-universe.dev/badges/HSAR?color=cyan)](https://spatlyu.r-universe.dev/HSAR)
<!-- badges: end -->

**Hierarchical Spatial Simultaneous Autoregressive Model (HSAR)**

## Installation

- Install from [CRAN](https://CRAN.R-project.org/package=HSAR) with:

``` r
install.packages("HSAR", dep = TRUE)
```

- Install development binary version from
[R-universe](https://spatlyu.r-universe.dev/HSAR) with:

``` r
install.packages('HSAR',
repos = c("https://spatlyu.r-universe.dev",
"https://cloud.r-project.org"),
dep = TRUE)
```

- Install development source version from
[GitHub](https://github.com/spatlyu/HSAR) with:

``` r
if (!requireNamespace("devtools")) {
install.packages("devtools")
}
devtools::install_github("spatlyu/HSAR",
build_vignettes = TRUE,
dep = TRUE)
```

0 comments on commit 4c19181

Please sign in to comment.