Goodness of Fit and Test of Independence with R - Examples Using Chi-Square Test