[R] Complex Association Plots
jim at mail.bitwrit.com.au
Tue Jul 9 14:03:32 CEST 2013
One possibility is a nested bar plot of proportions. This can be done with
the barNest function in the plotrix package. Check the Titanic example.
> I'm new to R plotting, so please be gentle.
> I want to make a large association plot, showing whether each combination
> of variables averages more or less than the whole for proportion in a
> certain category.
> So, for example:
> Dependent Variable: eye color (30% green, 45% brown, 25% blue on average)
> Independent Variables: hair color, skin color, hair type
> How would I generate a block for each of those combinations of variables
> and show the average distribution of eye color compared to the average?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help