Description Usage Arguments Value References
Do a 'scatterplot bin smoothing'
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 
| x | Forcing variable | 
| y | Output | 
| h | the bandwidth (defaults to  | 
| nbins | number of Bins | 
| cutpoint | Cutpoint | 
| plot | Logical. Whether to plot or only returned silently | 
| type | Whether returns the y averages, or the x frequencies | 
| xlim, cex, main, xlab, ylab | Usual parameters passed to plot(), see  | 
| ... | further arguments passed to plot. | 
Returns silently values
McCrary, Justin.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.