No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
4 changed files with
5 additions and
5 deletions
-
R/stat-logspline.R
-
README.Rmd
-
README.md
-
man/stat_logspline.Rd
|
|
@ -66,7 +66,7 @@ StatLogspline <- ggproto( |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
#' Computes logpline density (+ counts estimate), probability, survival & hazard |
|
|
|
#' Computes logspline density (+ counts estimate), probability, survival & hazard |
|
|
|
#' |
|
|
|
#' @inheritParams ggplot2::stat_density |
|
|
|
#' @param n numbe of points for the density estimation (larger == smoother) |
|
|
|
|
|
@ -26,7 +26,7 @@ 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 |
|
|
|
- `stat_logspline`: Computes logspline density (+ counts estimate), probability, survival & hazard |
|
|
|
|
|
|
|
## Installation |
|
|
|
|
|
|
|
|
|
@ -19,7 +19,7 @@ hazard function or survival function from a logspline density |
|
|
|
|
|
|
|
The following functions are implemented: |
|
|
|
|
|
|
|
- `stat_logspline`: Computes logpline density (+ counts estimate), |
|
|
|
- `stat_logspline`: Computes logspline density (+ counts estimate), |
|
|
|
probability, survival & hazard |
|
|
|
|
|
|
|
## Installation |
|
|
|
|
|
@ -2,7 +2,7 @@ |
|
|
|
% Please edit documentation in R/stat-logspline.R |
|
|
|
\name{stat_logspline} |
|
|
|
\alias{stat_logspline} |
|
|
|
\title{Computes logpline density (+ counts estimate), probability, survival & hazard} |
|
|
|
\title{Computes logspline 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 logpline density (+ counts estimate), probability, survival & hazard |
|
|
|
Computes logspline density (+ counts estimate), probability, survival & hazard |
|
|
|
} |
|
|
|
\examples{ |
|
|
|
library(ggplot2) |
|
|
|