Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR R

r simple bar plot

slices <- c(10, 12,4, 16, 8)
lbls <- c("US", "UK", "Australia", "Germany", "France")
barplot(slices, names.arg= lbls, main="Bar Plot of Countries",
    col=rainbow(length(slices)))
Source by www.statmethods.net #
 
PREVIOUS NEXT
Tagged: #simple #bar #plot
ADD COMMENT
Topic
Name
9+7 =