(Bio100.1) RPlots For Wombats
(Bio100.1) RPlots For Wombats
1 HXY
2018-03625 Sir Din Matias
RStudio Exercise: Summarizing Data in R
The figure above illustrates the distribution of the masses of the wombats sampled from
different locations. From this, it can be superficially observed that the masses of the lightest wombats
among all of the three locations are arbitrarily close to zero, while the heaviest wombats are found
to be located from NSW. What can be extrapolated from this plot is that the samples collected from
NSW are more varied as compared to those from Tasmania as reflected in the heights of their plots.
The narrow distribution of observations from the latter may indicate that Tasmanian wombats are
generally smaller (and lighter) than other wombats, or that there could have been some errors in
data collection which could have introduced a bias in the observations.
The figure above shows the masses of wombats sampled from different locations with respect
to their ages. Based on the distribution, it can be seen that most of the samples used for female
wombats were aged (signified by the concentration of purple points in the upper right corner of the
diagram), while most of the samples used for male wombats were young. Furthermore, it can also be
observed that most of the Tasmanian wombats sampled were young. These imply that the data
collection process was biased – making the viewer initially think that female wombats are heavier
than male ones. The only takeaway that an observer can get from this plot is that mass varies
positively (or is directly proportional) with the wombat’s age.
#Rationalization
Using both figures, it can be rationalized that the reason why Tasmanian wombats are
deemed to be lighter than others (using the boxplot) is that most of the samples obtained in that
region were young wombats (which can be seen from the scatter plot), and what has been considered
as outliers were actually old wombats and could have been viable observation points if only the
sampling were more randomized just as how the wombats from NSW and SA were selected.