fortify.stepfun: Convert 'stats::stepfun' to 'data.frame'

Description Usage Arguments Value Examples

View source: R/fortify_stats.R

Description

Convert stats::stepfun to data.frame

Usage

1
2
## S3 method for class 'stepfun'
fortify(model, data, ...)

Arguments

model

stats::stepfun instance

data

original dataset, if needed

...

other arguments passed to methods

Value

data.frame

Examples

1
2
3
4
fortify(stepfun(c(1, 2, 3), c(4, 5, 6, 7)))
fortify(stepfun(c(1), c(4, 5)))
fortify(stepfun(c(1, 3, 4, 8), c(4, 5, 2, 3, 5)))
fortify(stepfun(c(1, 2, 3, 4, 5, 6, 7, 8, 10), c(4, 5, 6, 7, 8, 9, 10, 11, 12, 9)))

ggfortify documentation built on May 19, 2017, 10:10 p.m.

Search within the ggfortify package
Search all R packages, documentation and source code