No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
4 changed files with
10 additions and
6 deletions
-
R/stat-logspline.R
-
README.Rmd
-
README.md
-
man/gglogspline-ggproto.Rd
|
|
@ -3,7 +3,7 @@ |
|
|
|
#' @section Computed variables: |
|
|
|
#' |
|
|
|
#' - `density` : the density estimate |
|
|
|
#' - `count`: computed counts (similar to [ggplots::stat_density()]) |
|
|
|
#' - `count`: computed counts (similar to [ggplot2::stat_density()]) |
|
|
|
#' - `probs`: distribution function |
|
|
|
#' - `survival`: survival function |
|
|
|
#' - `hazard` : hazard function |
|
|
|
|
|
@ -31,6 +31,8 @@ The following functions are implemented: |
|
|
|
## Installation |
|
|
|
|
|
|
|
```{r install-ex, eval=FALSE} |
|
|
|
install("gglogspline", repos = "https://cinc.rud.is") |
|
|
|
# or |
|
|
|
devtools::install_git("https://git.sr.ht/~hrbrmstr/gglogspline.git") |
|
|
|
# or |
|
|
|
devtools::install_git("https://git.rud.is/hrbrmstr/gglogspline.git") |
|
|
|
|
|
@ -25,6 +25,8 @@ The following functions are implemented: |
|
|
|
## Installation |
|
|
|
|
|
|
|
``` r |
|
|
|
install("gglogspline", repos = "https://cinc.rud.is") |
|
|
|
# or |
|
|
|
devtools::install_git("https://git.sr.ht/~hrbrmstr/gglogspline.git") |
|
|
|
# or |
|
|
|
devtools::install_git("https://git.rud.is/hrbrmstr/gglogspline.git") |
|
|
@ -97,10 +99,10 @@ ggplot(xdf) + |
|
|
|
|
|
|
|
## gglogspline Metrics |
|
|
|
|
|
|
|
| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) | |
|
|
|
| :--- | -------: | --: | --: | ---: | ----------: | ---: | -------: | --: | |
|
|
|
| R | 4 | 0.8 | 63 | 0.67 | 20 | 0.45 | 53 | 0.6 | |
|
|
|
| Rmd | 1 | 0.2 | 31 | 0.33 | 24 | 0.55 | 36 | 0.4 | |
|
|
|
| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) | |
|
|
|
| :--- | -------: | --: | --: | ---: | ----------: | ---: | -------: | ---: | |
|
|
|
| R | 4 | 0.8 | 63 | 0.66 | 20 | 0.45 | 53 | 0.59 | |
|
|
|
| Rmd | 1 | 0.2 | 32 | 0.34 | 24 | 0.55 | 37 | 0.41 | |
|
|
|
|
|
|
|
## Code of Conduct |
|
|
|
|
|
|
|
|
|
@ -15,7 +15,7 @@ Base ggproto classes for gglogspline |
|
|
|
|
|
|
|
\itemize{ |
|
|
|
\item \code{density} : the density estimate |
|
|
|
\item \code{count}: computed counts (similar to \code{\link[ggplots:stat_density]{ggplots::stat_density()}}) |
|
|
|
\item \code{count}: computed counts (similar to \code{\link[ggplot2:stat_density]{ggplot2::stat_density()}}) |
|
|
|
\item \code{probs}: distribution function |
|
|
|
\item \code{survival}: survival function |
|
|
|
\item \code{hazard} : hazard function |
|
|
|