pl.coplot {YRmisc} | R Documentation |
Scatter plot of x and y divided by z
Description
Generate 4 scatter plots of x and y divided by variable z, with a fitted line using a simple linear regression method.
Usage
pl.coplot(x,y,z,varN)
Arguments
x |
:x-axis value |
y |
:y-axis value |
z |
:classification variable used to condition plots based on ascending values of z |
varN |
:variable name of z |
Examples
pl.coplot(mtcars[,1], mtcars[,3], mtcars[,4], "hp")
[Package YRmisc version 0.1.6 Index]