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, 385🔥, 0💬
Popular Posts:
How to test I/O performance on INTEL SSDPEKKF256G8L SSD (Solid State Disk) with SQLIO? INTEL SSDPEKK...
How to install IPython in a Conda environment? If you want to install IPython in a specific Conda en...
How to Install and Start Skype Meeting App in Google Chrome? You can follow this tutorial to install...
How to create a new WeChat account without phone number? I want to use WeChat, but I don't have a ce...
How to apply a character style in Microsoft Word? I want to emphasize few words in a paragraph. Appl...