Categories:
Cloud (204)
Entertainment (11)
Facebook (43)
General (50)
Life (31)
Programming (64)
Technology (430)
Testing (4)
Tools (488)
Twitter (5)
Wearable (26)
Web Design (44)
Collections:
Other Resources:
barplot() on Numeric Vector
How to use the barplot() function on a numeric vector?
✍: FYIcenter.com
barplot() function is provided in the built-in "graphics" package.
You don't need to install any external packages to use barplot().
If you have a numeric vector, you can visualize it as a bar chart with the barplot() function.
Call barplot() with on a numeric vector:
> v = c(2,3,4) > typeof(v) [1] "double" > barplot(v)
Call barplot() with on a named numeric vector. The name for each member will be printed below the bar.
> v = c(2,3,4)
> names(v) = c("First", "Second", "Third")
> typeof(v)
[1] "double"
> barplot(v)
2023-05-09, ∼1315🔥, 0💬
Popular Posts:
How to connect FileZilla to an Anonymous FTP Server? If you know the server host name, you can conne...
How to install Microsoft Teams desktop version on Windows 7? I am tired of using Microsoft Teams Web...
What are header and footer design options in Microsoft Word? I want to learn more about creating hea...
How to view dynamic field codes in Microsoft Word? Each dynamic value is Microsoft Word is driven by...
How to add ActiveX controls, like text command button, text box, check box, etc., to Presentation sl...