showstats: Show Statistics

Description Usage Arguments Value

Description

Uses bills data from the read function to perform appropriate analysis and generate graphics associated with the data.

Usage

1
showstats("type")

Arguments

type

The kind of analysis to be done. The possible options are summary, bills, pctchange, inflation, predictbills, predictpc and inflationbills. summary displays the total amount, percentage increase and total increase of school bills and the inflation rate of each year. bills displays the timeplot of school bills across the years. pctchange shows a timeplot of percentage increase of bills across the years. inflation shows a timeplot of percentage increase of school bills compared to inflation. predictbills shows a plot of the amount of school bills and the model used to predict future school bills. predictpc shows a plot of the percentage increase of school bills and the model used to predict future percentage increases. inflationbills shows a plot of a comparison between the actual cost of school bills and the cost of school bills if it has been increasing at the inflation rate since 2000.

Value

Results from the kind of analysis specified by type.


chriswu1996/williamsfinance documentation built on May 13, 2019, 7:28 p.m.