derivative_plot: Derivative plot

View source: R/calculus_funs.R

derivative_plotR Documentation

Derivative plot

Description

Derivative plot

Usage

derivative_plot(
  fun = normal_fun,
  x_value = 1,
  delta_x = 0.1,
  view_xmin = x_value - 2,
  view_xmax = x_value + 2,
  ...
)

Arguments

fun

function used to calculate the derivative.

x_value

x-coordinate where the derivative is desired.

delta_x

the difference in x used to estimate the derivative.

view_xmin

minimum x-value for the plot view.

view_xmax

maximum x-value for the plot view.

...

other parameters passed to f.


jbryer/VisualStats documentation built on Feb. 27, 2025, 6:19 p.m.