View source: R/plot_comp_resids.R
plot_comp_resids | R Documentation |
A function that generates a plot of residuals for compositional data.
plot_comp_resids(resids_matrix, show_legend = TRUE)
resids_matrix |
a matrix[years,bins] that are standardised residuals from compositional data, rownames(resids_matrix) = years (y-axis), colnames(resids_matrix) = ages/length |
show_legend |
bool create a legend |
a ggplot bubble plot
C.Marsh
## Not run:
resids = matrix(rnorm(100), 10, 10
colnames(resids) = 1:10
plt = plot_comp_resids(resids_matrix = resids, show_legend = T)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.