Description Usage Arguments Value See Also Examples
tableShade
takes a SimDesign
dataframe object, and returns a shaded table.
1 2 3 |
dat |
A |
table_vars |
A |
method |
A |
ndigit |
An |
colswitch |
A |
numrow |
An |
main_title |
A |
xlab |
A |
ylab |
A |
... |
Additional parameters passed onto |
cols |
A |
A ggplot2
object.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
data(Brown1974)
dat <- subset(Brown1974, var_ratio != 1)
tableShade(dat, table_vars = c("distribution", "var_ratio"))
# Adding optional arguments:
tableShade(dat, table_vars = c("distribution", "var_ratio"),
main_title = "Power Rates by Variance Ratio and Distribution",
xlab = "Variance Ratio", ylab = "Outcome Variable",
numrow = 1, ndigit = 1, colswitch = .7, colours = "Reds")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.