Pie Chart

Description

The following R command calculates a pie chart for the final exam grades in a statistics course.

To use R in a Sage cell, the language must be set to R. See https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst for details.

Sage Cell

Options

slices <- c(4, 10 , 37, 8, 1)
lbls <- c("A", "B", "C", "D", "F")
pie(slices, labels = lbls, main="Final Exam Grades for a Statistics Course")

Tags

Primary Tags: statistics

Secondary Tags: pie chart

Related Cells

Attribute

Permalink:

Author: T. Judson

Date: 19 Jul 2017 10:48

Submitted by: Tom Judson

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License