View source: R/miscellaneous.R

B_11_oneway | R Documentation |

Fits a One-way model to univariate data grouped by a factor, the
result often being displayed using `rfs`

```
oneway(formula, data, location=mean, spread=function(x) sqrt(var(x)))
```

`formula` |
formula of the form |

`data` |
data frame in which the model is to be evaluated |

`location` |
function or numeric giving the location statistic to
be used for centering the observations, e.g. |

`spread` |
function or numeric giving the spread statistic to
be used for scaling the observations, e.g. |

A list with components

`location`

vector of locations for each group.

`spread`

vector of spreads for each group.

`fitted.values`

vector of locations for each observation.

`residuals`

residuals (

`y - fitted.values`

).`scaled.residuals`

residuals scaled by

`spread`

for their group

Deepayan Sarkar Deepayan.Sarkar@R-project.org

`rfs`

, `Lattice`

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.