Browse Source

readme

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

2
R/stat-logspline.R

@ -66,7 +66,7 @@ StatLogspline <- ggproto(
)
#' Computes and draws...
#' Computes logpline density (+ counts estimate), probability, survival & hazard
#'
#' @inheritParams ggplot2::stat_density
#' @param n numbe of points for the density estimation (larger == smoother)

2
README.Rmd

@ -26,6 +26,8 @@ Methods are provided to plot a logspline density, distribution function, hazard
The following functions are implemented:
- `stat_logspline`: Computes logpline density (+ counts estimate), probability, survival & hazard
## Installation
```{r install-ex, eval=FALSE}

7
README.md

@ -19,6 +19,9 @@ hazard function or survival function from a logspline density
The following functions are implemented:
- `stat_logspline`: Computes logpline density (+ counts estimate),
probability, survival & hazard
## Installation
``` r
@ -96,8 +99,8 @@ ggplot(xdf) +
| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) |
| :--- | -------: | --: | --: | ---: | ----------: | ---: | -------: | --: |
| R | 4 | 0.8 | 63 | 0.67 | 20 | 0.47 | 53 | 0.6 |
| Rmd | 1 | 0.2 | 31 | 0.33 | 23 | 0.53 | 35 | 0.4 |
| 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 |
## Code of Conduct

4
man/stat_logspline.Rd

@ -2,7 +2,7 @@
% Please edit documentation in R/stat-logspline.R
\name{stat_logspline}
\alias{stat_logspline}
\title{Computes and draws...}
\title{Computes logpline density (+ counts estimate), probability, survival & hazard}
\usage{
stat_logspline(mapping = NULL, data = NULL, geom = "area",
position = "identity", na.rm = FALSE, show.legend = NA,
@ -69,7 +69,7 @@ often aesthetics, used to set an aesthetic to a fixed value, like
to the paired geom/stat.}
}
\description{
Computes and draws...
Computes logpline density (+ counts estimate), probability, survival & hazard
}
\examples{
library(ggplot2)

Loading…
Cancel
Save