Learn R Programming

takos (version 0.2.0)

dadx: Title dadx

Description

calculates the ratio of two differential according to the value of d.step

Usage

dadx(x, a, d.step = 2)

Arguments

x

denominator variable for calculating da

a

numerator variable for calculating dt

d.step

step of differentiation

Value

ratio of two differential of the tw0 input variables

Examples

Run this code
# NOT RUN {
npoints=100
seed=42
x1=round(runif(npoints,0,1), 2)
seed=1234
x2=round(runif(npoints,0,1), 2)
xdiff <- dadx(x1,x2)
# }

Run the code above in your browser using DataLab