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
Get step-by-step solutions from verified subject matter experts
