XPlot: Plots a function

Description Usage Arguments Examples

View source: R/XPlot.R

Description

Plots a function

Usage

1
XPlot(f, x1, x2, x0 = (x1 + x2)/2)

Arguments

f
x1

plot function from x1

x2

plot function to x2

x0

Optional, studies the point x0, defaults to x0=(x1+x2)/2

Examples

1
2
XPlot(function(x) 2*x^2+3*x,-5,5,1)
XPlot(function(x) sin(x),0,2*pi)

EduardoJacob/xfunctions documentation built on March 12, 2021, 7:30 a.m.