PlotCoh: Lattice style plot of cohorts by age

Description Usage Arguments Value

View source: R/plot_coh.r

Description

Each point shows age x vs age y of a cohort. Correlation values also shown. Assumes matrix has ages as columns and that cohorts are in rows.

Usage

1
PlotCoh(matcoh, save.plots, od, plotf, mytitle = "", mylabels = NA)

Arguments

matcoh

matrix of values with ages as columns and cohorts as rows

save.plots

save individual plots

od

output directory for plots and csv files

plotf

type of plot to save

mytitle

title for plot (defaults to blank)

mylabels

optional labels to write in boxes on diagonal (defaults to showing "age-X")

Value

correlation matrix


cmlegault/ASAPplots documentation built on March 29, 2021, 8:28 p.m.