Skip to content

Commit

Permalink
Add CRAN badge
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshidk6 committed Feb 10, 2025
1 parent 4425d8a commit e7ae1b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ library(gt)

<!-- badges: start -->
[![R-CMD-check](https://github.com/Genentech/BayesERtools/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/Genentech/BayesERtools/actions/workflows/R-CMD-check.yaml)
[![CRAN status](https://www.r-pkg.org/badges/version/BayesERtools)](https://CRAN.R-project.org/package=BayesERtools)
<!-- badges: end -->

`BayesERtools` provides a suite of tools that facilitate
Expand All @@ -36,8 +37,8 @@ exposure-response analysis using Bayesian methods.
You can install the `BayesERtools` with:

``` r
# install.packages('BayesERtools') # Once on CRAN
devtools::install_github("genentech/BayesERtools") # development version
install.packages('BayesERtools')
# devtools::install_github("genentech/BayesERtools") # development version
```

You also need latest version of `rstanemax` (>= 0.1.7) to use E~max~ model.
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
<!-- badges: start -->

[![R-CMD-check](https://github.com/Genentech/BayesERtools/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/Genentech/BayesERtools/actions/workflows/R-CMD-check.yaml)
[![CRAN
status](https://www.r-pkg.org/badges/version/BayesERtools)](https://CRAN.R-project.org/package=BayesERtools)
<!-- badges: end -->

`BayesERtools` provides a suite of tools that facilitate
Expand All @@ -21,8 +23,8 @@ exposure-response analysis using Bayesian methods.
You can install the `BayesERtools` with:

``` r
# install.packages('BayesERtools') # Once on CRAN
devtools::install_github("genentech/BayesERtools") # development version
install.packages('BayesERtools')
# devtools::install_github("genentech/BayesERtools") # development version
```

You also need latest version of `rstanemax` (\>= 0.1.7) to use
Expand Down
4 changes: 2 additions & 2 deletions vignettes/basic_workflow_bin.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ermod_bin
You can compare the observed data with the model fit using `plot_er()`
function.

```{r}
```{r, fig.width = 6, fig.height = 4}
# Using `*` instead of `+` so that scale can be
# applied for both panels (main plot and boxplot)
plot_er_gof(ermod_bin, var_group = "Dose", show_coef_exp = TRUE) *
Expand Down Expand Up @@ -147,7 +147,7 @@ ermod_bin_exp_sel
The ER curve for all the evaluated exposure metrics can be generated with
`plot_er_exp_sel()` function.

```{r}
```{r, fig.width = 6, fig.height = 4}
plot_er_exp_sel(ermod_bin_exp_sel) +
xgxr::xgx_scale_x_log10()
```
Expand Down

0 comments on commit e7ae1b1

Please sign in to comment.