bcolumn_vector | R Documentation |
The specified column vector is converted to a bmatrix in Rmarkdown
bcolumn_vector(
pvec,
ps_name = NULL,
ps_equal_sign = "=",
ps_env = NULL,
ps_out_format = "html"
)
pvec |
vector to be converted to Rmarkdown |
ps_name |
variable name for the vector |
ps_equal_sign |
equal sign to be used when a variable name is given |
ps_env |
math environment in which matrix should be presented |
ps_out_format |
output format produced |
# —- bcolumn_vector Wrapper ——————————————— #
String containing bmatrix representation of given vector
## Not run:
example_vec <- c(1:5)
bcolumn_vector(pvec = example_vec, ps_name = 'v', ps_env = '$$')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.