Draws a curve corresponding to a function over the interval [from, to]
.
gcurve
can plot also an expression in the variable xname
,
default x
.
1 2 3 4 5 6 7  gcurve(expr, from = NULL, to = NULL, n = 101, add = FALSE, type = "l",
xname = "x", xlab = xname, ylab = NULL, log = NULL, xlim = NULL,
..., grid = TRUE, col.grid = "grey90", col.acc = "white")
## S3 method for class 'function'
gplot(x, y = 0, to = 1, from = y, xlim = NULL,
ylab = NULL, grid = TRUE, col.grid = "grey90", col.acc = "white", ...)

expr 
The name of a function, or a call or an
expression written as a function of 
from 
the range over which the function will be plotted. 
to 
the range over which the function will be plotted. 
n 
integer; the number of x values at which to evaluate. 
add 
logical; if 
type 
plot type: see 
xname 
character string giving the name to be used for the x axis. 
xlab 
labels and graphical parameters
can also be specified as arguments. See ‘Details’ for the
interpretation of the default for For the 
ylab 
labels and graphical parameters
can also be specified as arguments. See ‘Details’ for the
interpretation of the default for For the 
log 
labels and graphical parameters
can also be specified as arguments. See ‘Details’ for the
interpretation of the default for For the 
xlim 

grid 
logical; if 
col.grid 

col.acc 

x 
a ‘vectorizing’ numeric R function. 
y 
alias for 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.