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, 1022🔥, 0💬
Popular Posts:
What do those Fitbit icons mean? Over the years, Fitbit has used a number of icons on their wearable...
How to add slide numbers and copyright in the footer area? You can add slide numbers, copyright text...
What is "OneNote Notes about Word Documents" add-in in Microsoft Word? Should I disable it? "OneNote...
How to install IPython in a Conda environment? If you want to install IPython in a specific Conda en...
How to update TOC (Table Of Content) for a FrameMaker book? I have make changes in some chapters. Yo...