Browse Source

ggplo2 ref

master
boB Rudis 1 year ago
parent
commit
68b1a1458b
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
4 changed files with 10 additions and 6 deletions
  1. +1
    -1
      R/stat-logspline.R
  2. +2
    -0
      README.Rmd
  3. +6
    -4
      README.md
  4. +1
    -1
      man/gglogspline-ggproto.Rd

+ 1
- 1
R/stat-logspline.R View File

@ -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


+ 2
- 0
README.Rmd View File

@ -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")


+ 6
- 4
README.md View File

@ -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


+ 1
- 1
man/gglogspline-ggproto.Rd View File

@ -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


Loading…
Cancel
Save