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, ∼1246🔥, 0💬
Popular Posts:
How to make my presentation beautiful by applying a built-in theme provided by Office PowerPoint 200...
How to download and install older versions of Microsoft Office on my Mac computer? I am running macO...
How to download FrameMaker 2017 Release for my Windows computer? I want to try it. You can follow th...
How to create a command button to run my macro in slide show in PowerPoint? I have created a macro t...
How to edit Mozilla Firefox configuration file? Mozilla Firefox has a configuration file that contro...