BY | R Documentation |

GLM, REG, aov1 etc. functions can be run by levels of a variable.

BY(FUN, Formula, Data, By, ...)

`FUN` |
Function name to be called such as GLM, REG |

`Formula` |
a conventional formula for a linear model. |

`Data` |
a |

`By` |
a variable name in the |

`...` |
arguments to be passed to |

This mimics SAS procedues' BY clause.

a list of `FUN`

function outputs. The names are after each level.

Kyun-Seop Bae k@acr.kr

BY(GLM, uptake ~ Treatment + as.factor(conc), CO2, By="Type") BY(REG, uptake ~ conc, CO2, By="Type")

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.