Search notes:

R function: pie

#
#    Note: ?pie gives a clue as to why pie charts are
#          a poor choice to convey information:
#
#         «Pie charts are a very bad way of displaying information.
#          The eye is good at judging linear measures and bad at
#          judging relative areas. A bar chart or dot chart is a
#          preferable way of displaying this type of data.»
#
#    See ../examples/colors/hue.R on how pie might be used.

x11()

sales <- c(51, 76, 92)
names(sales) <- c('Foo', 'Bar', 'Baz')

pie(sales, main="Sales") 
z <- locator(1)
Github repository about-r, path: /functions/pie.R

See also

Index to (some) R functions

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758201006, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/R/functions/pie(56): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78