Skip to content

Commit

Permalink
add cran install instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
joshyam-k committed Feb 15, 2024
1 parent 2f0d62f commit ff5b811
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 8 deletions.
9 changes: 8 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@ The package can also generate MSE estimates using a parametric bootstrap approac

## Installation

You can install the developmental version of `saeczi` from GitHub with:
Install the latest CRAN release with:

```{r cran-installation, eval = FALSE}
pak::pkg_install("saeczi")
```


You can also install the developmental version of `saeczi` from GitHub with:

```{r gh-installation, eval = FALSE}
# install.packages("pak")
Expand Down
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ sequentially.

## Installation

You can install the developmental version of `saeczi` from GitHub with:
Install the latest CRAN release with:

``` r
pak::pkg_install("saeczi")
```

You can also install the developmental version of `saeczi` from GitHub
with:

``` r
# install.packages("pak")
Expand Down Expand Up @@ -91,12 +98,12 @@ few rows of the results:
``` r
result$res |> head()
#> domain mse est
#> 1 41001 327.73882 14.85495
#> 2 41003 107.30485 97.74967
#> 3 41005 268.87257 86.02207
#> 4 41007 146.77866 76.24752
#> 5 41009 19.43486 70.28624
#> 6 41011 90.38764 87.65072
#> 1 41001 156.66442 14.85495
#> 2 41003 28.41606 97.74967
#> 3 41005 305.86545 86.02207
#> 4 41007 169.09258 76.24752
#> 5 41009 92.54089 70.28624
#> 6 41011 633.15740 87.65072
```

This output format allows for easy results plotting
Expand Down

0 comments on commit ff5b811

Please sign in to comment.