contourplothelper: contourplothelper

View source: R/helper-functions.R

contourplothelperR Documentation

contourplothelper

Description

Simple helper function for countour plots

Usage

contourplothelper(
  d,
  x,
  y,
  z,
  nbins = 32,
  binwidth = c(10, 10),
  points = c(300, 300),
  title = NULL
)

Arguments

d

A data frame.

x

A string with the dataframe column name for x axis.

y

A string with the dataframe column name for y axis.

z

A string with the dataframe column name for z axis.

nbins

The number bins. The default is 32.

binwidth

The binwidths for 'kde2d'. Can be an scalar or a vector.

points

The number of grid points. Can be an scalar or a vector.

title

The optional plot title. May be omited.


evoper documentation built on Jan. 28, 2026, 5:06 p.m.