Create design matrix used in `sail`

function

1 | ```
design_sail(x, e, expand, group, basis, nvars, vnames, center.x, center.e)
``` |

`x` |
input matrix of dimension |

`e` |
exposure or environment vector. Must be a numeric vector. Factors must be converted to numeric. |

`expand` |
should |

`group` |
a vector of consecutive integers, starting from 1, describing
the grouping of the coefficients. Only required when |

`basis` |
user defined basis expansion function. This function will be
applied to every column in |

`nvars` |
number of variables |

`vnames` |
variable names |

`center.x` |
should the columns of |

`center.e` |
should exposure variable |

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.