marshalFormula | R Documentation |

Marshal a formula into options

```
marshalFormula(formula, data, from = "rhs", type = "vars",
permitted = c("numeric", "factor"), subset = ":", required = FALSE)
```

`formula` |
the formula |

`data` |
a data frame to marshal the data from |

`from` |
'rhs' or 'lhs', which side of the formula should be marshalled |

`type` |
'vars' or 'terms', the type of the option be marshalled to |

`permitted` |
the types of data the option permits |

`subset` |
a subset of the formula to marshal |

`required` |
whether this marshall is required or not |

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.