Graphics Reference
In-Depth Information
Figure 13-31. A pie chart
We passed pie() an object of class table . We could have instead given it a named vector, or a
vector of values and a vector of labels, like this:
pie(c( 99 , 18 , 120 ), labels = c( "L on R" , "Neither" , "R on L" ))
Search WWH ::




Custom Search