CENTRAL TENDENCY AND VARIABILITY or - SAGE Publications Inc

So, the solution is simple and can be programmed as follows: mean(GSS2016$age, na.rm=TRUE) GSS2016$age[GSS2016$age==99]=NA Tip: The addition of the code na.rm=TRUE tells R to remove the unknown entries from the list that will be used to make calculations (in this case for the mean). 49.15576 ................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download