Learn R Programming

ecd (version 0.9.2.4)

y_slope.ecd: Slope of \(y(x)\)

Description

Slope of \(y(x)\), that is, \(dy/dx\).

Usage

# S3 method for ecd
y_slope(object, x)

y_slope(object, x)

# S4 method for ecd y_slope(object, x)

Arguments

object

an object of ecd class

x

a numeric vector of x dimension

Value

a numeric vector of \(dy/dx\)

Examples

Run this code
# NOT RUN {
d <- ecd(0,1)
x <- seq(-20,20,by=0.01)
yp <- y_slope(d,x)
# }

Run the code above in your browser using DataLab