Description Usage Arguments Value Examples

View source: R/UniformDesignMatrix.R

Function for use in simulations, creating design matrix of categorical variables where each column is uniformly randomly distributed and independent.

1 | ```
UniformDesignMatrix(n, p, c)
``` |

`n` |
Number of observations |

`p` |
Number of variables |

`c` |
Number of categories within each variable |

A data frame of categorical (factor) variables.

1 | ```
x = UniformDesignMatrix(100, 10, 8)
``` |

```
```

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.