Skip to content

Commit

Permalink
render readme
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 2, 2023
1 parent 3ffe083 commit 791280a
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 15 deletions.
20 changes: 9 additions & 11 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -146,18 +146,16 @@ describe_posterior(
)
```

```{r message=FALSE, warning=FALSE, echo=FALSE, eval=curl::has_internet()}
```{r message=FALSE, warning=FALSE, echo=FALSE}
model <- insight::download_model("brms_zi_3")
if (!is.null(model)) {
describe_posterior(
model,
effects = "all",
component = "all",
test = c("p_direction", "p_significance"),
centrality = "all",
verbose = FALSE
)
}
describe_posterior(
model,
effects = "all",
component = "all",
test = c("p_direction", "p_significance"),
centrality = "all",
verbose = FALSE
)
```


Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ You can reference the package and its documentation as follows:
[![CRAN](http://www.r-pkg.org/badges/version/bayestestR)](https://cran.r-project.org/package=bayestestR)
[![insight status
badge](https://easystats.r-universe.dev/badges/bayestestR)](https://easystats.r-universe.dev)
[![R-CMD-check](https://github.com/easystats/datawizard/workflows/R-CMD-check/badge.svg?branch=main)](https://github.com/easystats/datawizard/actions)
[![R-CMD-check](https://github.com/easystats/bayestestR/workflows/R-CMD-check/badge.svg?branch=main)](https://github.com/easystats/bayestestR/actions)

The *bayestestR* package is available on CRAN, while its latest
development version is available on R-universe (from *rOpenSci*).
Expand Down Expand Up @@ -161,7 +161,7 @@ describe_posterior(
##
## Parameter | Median | 95% CI | pd | ps
## --------------------------------------------------
## Posterior | 0.02 | [-1.98, 1.97] | 50.74% | 0.46
## Posterior | -0.01 | [-1.98, 1.93] | 50.52% | 0.46
```

`describe_posterior()` works for many objects, including more complex
Expand Down Expand Up @@ -325,7 +325,11 @@ guidelines*](https://easystats.github.io/bayestestR/articles/guidelines.html).
``` r
posterior <- distribution_normal(10000, 0.4, 0.2)
p_direction(posterior)
## Probability of Direction: 0.98
## Probability of Direction
##
## Parameter | pd
## ------------------
## Posterior | 97.72%
```

![](man/figures/unnamed-chunk-12-1.png)<!-- -->
Expand Down Expand Up @@ -460,7 +464,7 @@ Compute the density of a given point of a distribution.

``` r
density_at(rnorm(1000, 1, 1), 1)
## [1] 0.37
## [1] 0.41
```

## Code of Conduct
Expand Down
Binary file modified man/figures/unnamed-chunk-10-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/unnamed-chunk-12-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/unnamed-chunk-14-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/unnamed-chunk-16-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/unnamed-chunk-7-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified man/figures/unnamed-chunk-8-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 791280a

Please sign in to comment.