Description Usage Arguments Examples
plot a function
1 2 3 |
func |
The name of a function |
x |
a numeric vector to pass to the function |
from |
the lower limit of the x-axis |
to |
the upper limit of the x-axis |
n |
the number of x values to be evaluated |
xname |
character; argument of the function in func, the name of the x axis |
xlab |
label of the x-axis |
ylab |
label of the y-axis |
xlim |
restrict the range of the function |
args |
list of the additional argument of the function |
color |
the color of the line. defaults to "red" |
size |
the size of the line. defaults to 1.15 |
... |
Additional arguments to stat_function() |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.