Reputation: 7
I have been trying for days to figure out how to write this formula in R markdown...
...but I didn't find anything on the web. Can you help me please? Thanks.
Upvotes: 0
Views: 87
Reputation: 11527
You can use something like that
\documentclass{article}
\begin{document}
\[
x_1 = \left(\begin{array}{c}x_{11}\\\vdots\\x_{1p}\end{array}\right),
\cdots,
x_n = \left(\begin{array}{c}x_{n1}\\\vdots\\x_{np}\end{array}\right)
\]
\end{document}
The array is used to stack elements and the \left(
\right)
pair provides the enclosing parenthesis.
Does not require any package and can probably be pasted as is in R.
Upvotes: 1