Browse Source

ggplo2 ref

master
boB Rudis 5 years ago
parent
commit
68b1a1458b
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 2
      R/stat-logspline.R
  2. 2
      README.Rmd
  3. 10
      README.md
  4. 2
      man/gglogspline-ggproto.Rd

2
R/stat-logspline.R

@ -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
README.Rmd

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

10
README.md

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

2
man/gglogspline-ggproto.Rd

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