X hits on this document

56 views

0 shares

0 downloads

0 comments

21 / 23

SUMMARY R> boxplot(log(marketvalue) ~

country, data =

19

  • +

    subset(Forbes2000, country %in% c("United Kingdom",

    • +

      "Germany", "India", "Turkey")),

    • +

      ylab = "log(marketvalue)", varwidth = TRUE)

4

log(marketvalue)

2

0

−2

Germany

India

Turkey

United Kingdom

Figure 1.4

Boxplots of the logarithms of the market value for four selected coun- tries, the width of the boxes is proportional to the square-roots of the number of companies.

to be abbreviated (using abbreviate) to avoid making the plot look too ‘messy’.

Ex. 1.5 Find the average value of sales for the companies in each country in the Forbes data set, and find the number of companies in each country with profits above 5 billion US dollars.

Document info
Document views56
Page views56
Page last viewedFri Dec 09 05:58:20 UTC 2016
Pages23
Paragraphs684
Words5996

Comments