powered by
This function creates a histogram of entity sample sizes.
plotN(n, bin.width = 10)
A ggplot figure
vector of sample sizes
width of bins; default is 10
10
Kenneth Nieser (nieser@stanford.edu)
# plot sample sizes from colonoscopy dataset plotN(colonoscopy$n) # plot sample sizes from psychiatric readmissions dataset plotN(psychreadmission$n, bin.width = 100)
Run the code above in your browser using DataLab