Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (398)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
plot() on Function
How to use the plot() function on a function?
✍: FYIcenter.com
If you have a known function with a single independent variable,
you can pass the data frame as the first argument
followed by a starting value and an ending value
to the plot function to visualize the function.
Call plot() with the sin() function:
> typeof(sin) [1] "builtin" > is.function(sin) [1] TRUE > plot(sin, -pi, 2*pi)
The following graphic will be generated:
2023-03-17, 165👍, 0💬
Popular Posts:
How to edit Mozilla Firefox configuration file? Mozilla Firefox has a configuration file that contro...
What contents are stored in a Web Archive (.mht) file? When you convert a word document into a singl...
How to use MomoCast with Safari on iPhone and iPad to cast Website and video to Chromecast on TV? If...
How to unzip an XPS (XML Paper Specification, .xps) file? According to Microsoft documentation, an ....
How to unzip an XPS (XML Paper Specification, .xps) file? According to Microsoft documentation, an ....