panel.car | R Documentation |

a panel function for use with `coplot`

that plots points, a lowess line,
and a regression line.

```
panel.car(x, y, col, pch, cex=1, span=0.5, lwd=2,
reg.line=lm, lowess.line=TRUE, ...)
```

`x` |
vector giving horizontal coordinates. |

`y` |
vector giving vertical coordinates. |

`col` |
point color. |

`pch` |
plotting character for points. |

`cex` |
character expansion factor for points. |

`span` |
span for lowess smoother. |

`lwd` |
line width, default is |

`reg.line` |
function to compute coefficients of regression line,
or |

`lowess.line` |
if |

`...` |
other arguments to pass to functions |

`NULL`

. This function is used for its side effect: producing
a panel in a coplot.

John Fox jfox@mcmaster.ca

`coplot`

, `regLine`

```
coplot(prestige ~ income|education, panel=panel.car,
col="red", data=Prestige)
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.