Additional Plots and Stats with ggquickeda

Samer Mouksassi

2018-04-25

In this vignette we will expand what we learned in the Introduction to ggquickeda vignette. We will again launch the app and select the built-in dataset. Then we will do the following actions:

cut a continuous variable to categorical

cut a continuous variable to categorical

MedianPI

MedianPI

This illustrated how to use more than one y variable and how to generate a Median and a Ribbon showing a 95% Prediction interval over the x variable (Time). We can see that Weight does not change over time and that older Females and Males had little difference with respect to concentrations but had higher Weight. Let us look at the Weight distributions in different ways first using a boxplot:

MedianPI

MedianPI

In the following part we will generate a descriptive stats table that reflect the plot that we just did. * But first let us fix the fact that Weight is repeated multiple time by subject as it does not change over time. Go to One Row by ID(s) and map it to ID.

MedianPI

MedianPI

MedianPI

MedianPI

Remove all y variable(s) keeping Age as x variable gives:

MedianPI

MedianPI

Then selecting Weight as x variable gives:

MedianPI

MedianPI

As an exercise play with the options in the Histograms/Density/Bar to reproduce these plots.