Question: Initialize the dataset about prime numbers as shown below: df

Initialize the dataset about prime numbers as shown below:

df <- read.csv("http://people.bu.edu/kalathur/datasets/myPrimes.csv")

The resulting data frame shows the prime numbers below 10000 along with their last and first digits.

a)Show the barplot of the frequencies for the last digit.

b)Show the barplot of the frequencies for the first digit.

c)What inferences do you draw from these two plots? (two inferences from each plot)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!