Description Usage Arguments Value Author(s) Examples
You can use plot_table to draw table in ggplot2,
but it only applies to expressions(see expression
).
For more information , you can see plotmath
.
But it's a ggplot2 object!
1 | plot_table(Str, ncol, byrow = TRUE)
|
Str |
some expressions |
ncol |
the number f col |
byrow |
logical, the default is |
It will output a ggplot object that contains a table.
Chai
1 2 3 4 5 6 7 | a1 <- c(
"x %*% y", "x %/% y", "alpha", "sigma", "beta",
"x == y", "frac(x,y)", "x %up% y", "hat(x)",
"symbol(a)", "underline(x)"
)
plot_table(a1, 2)
plot_table(a1, 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.