Plot a scatter plot conditioned on a continuous variable, with marginal conditional density plots.

ScatterHistN(
frame,
xvar,
yvar,
zvar,
title,
...,
annot_size = 3,
colorPalette = "RdYlBu",
nclus = 3,
)

## Arguments

frame data frame to get values from name of the x variable name of the y variable name of height variable title to place on plot no unnamed argument, added to force named binding of later arguments. numeric: scale annotation text (if present) name of a Brewer palette (see https://colorbrewer2.org/ ) scalar: number of z-clusters to plot numeric: adjust x density plot numeric: adjust y density plot

## Details

xvar and yvar are the coordinates of the points, and zvar is the continuous conditioning variable. zvar is partitioned into nclus disjoint ranges (by default, 3), which are then treated as discrete categories.The scatterplot and marginal density plots are color-coded by these categories.

ScatterHistC

frm$z <- frm$x+frm\$y