Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
changwoo-lee committed Dec 29, 2023
1 parent 33c8f7f commit 407b0be
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 4 deletions.
21 changes: 18 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ knitr::opts_chunk$set(
# bspme
<!-- badges: start -->
<!-- badges: end -->
Go to package website: [[link]](https://changwoo-lee.github.io/bspme/)
Go to package website: [[link]](https://changwoo-lee.github.io/bspme/) (NOTE: IT IS NOW UNPUBLISHED)

See a vignette with ozone exposure data: [[link]](https://changwoo-lee.github.io/bspme/articles/Ozone-exposure-and-health-data-analysis.html)
See a vignette with ozone exposure data: [[link]](https://changwoo-lee.github.io/bspme/articles/Ozone-exposure-and-health-data-analysis.html) (NOTE: SEE BELOW "INSTALLATION" SECTION INSTEAD)

**bspme** is an R package that provides a set of functions for **B**ayesian **sp**atially correlated **m**easurement **e**rror models, the Bayesian linear models with the presence of (spatially) correlated measurement error of covariate(s). For more details, please see the following paper:

Expand Down Expand Up @@ -56,7 +56,14 @@ You can install the development version of bspme with the following code:

``` r
# install.packages("devtools")
devtools::install_github("changwoo-lee/bspme")
# never share below token
devtools::install_github("changwoo-lee/bspme", auth_token = "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", build_vignettes = T, force= T)
```

To browse and see vignettes, run

``` r
browseVignettes("bspme")
```


Expand All @@ -69,6 +76,14 @@ devtools::install_github("changwoo-lee/bspme")
| `vecchia_cov()` | Perform the Vecchia approximation given a MVN covariance matrix |


To see function description in R environment, run the following lines:


``` r
?blinreg_me
?vecchia_cov
```


## datasets

Expand Down
18 changes: 17 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
<!-- badges: end -->

Go to package website: [\[link\]](https://changwoo-lee.github.io/bspme/)
(NOTE: IT IS NOW UNPUBLISHED)

See a vignette with ozone exposure data:
[\[link\]](https://changwoo-lee.github.io/bspme/articles/Ozone-exposure-and-health-data-analysis.html)
(NOTE: SEE BELOW “INSTALLATION” SECTION INSTEAD)

**bspme** is an R package that provides a set of functions for
**B**ayesian **sp**atially correlated **m**easurement **e**rror models,
Expand Down Expand Up @@ -69,7 +71,14 @@ code:

``` r
# install.packages("devtools")
devtools::install_github("changwoo-lee/bspme")
# never share below token
devtools::install_github("changwoo-lee/bspme", auth_token = "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", build_vignettes = T, force= T)
```

To browse and see vignettes, run

``` r
browseVignettes("bspme")
```

## Functionality
Expand All @@ -80,6 +89,13 @@ devtools::install_github("changwoo-lee/bspme")
| `blogireg_me()` | Bayesian logistic regression models with a MVN prior for measurement errors |
| `vecchia_cov()` | Perform the Vecchia approximation given a MVN covariance matrix |

To see function description in R environment, run the following lines:

``` r
?blinreg_me
?vecchia_cov
```

## datasets

| Dataset call | Description |
Expand Down

0 comments on commit 407b0be

Please sign in to comment.