Simple helper function for countour plots
1 2 |
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.