Producing a working example:
We can produce a working example, following section 3.3 on p. 8 in the Yuima article. For the sake of simplicity, we reduce the dimension of $\Lambda \in \mathbb{R}^{3\times 18}$ to $\Lambda \in \mathbb{R}^{3\times 4}$. Then, we define the 3-dimensional Ito process with arbitrarily chosen values for $b$, $B$ and $\Lambda$ as:
\begin{align}
X_t &= (b + B X_t) \: dt + \Lambda \: dW_t\\
&=\left(\begin{bmatrix}
0.5\\
0.45\\
0.4
\end{bmatrix} + \begin{bmatrix}
0.1 & 0.3 & 0.2\\
0.3 & 0.2 & 0.3\\
0.2 & 0.3 & 0.3\\
\end{bmatrix}
\begin{bmatrix}
X_{1t}\\
X_{2t}\\
X_{3t}
\end{bmatrix}
\right) \: dt + \begin{bmatrix}
0.1 & 0.3 & 0.2 & 0.4\\
0.3 & 0.2 & 0.3 & 0.2\\
0.2 & 0.3 & 0.3 & 0.5\\
\end{bmatrix} \begin{bmatrix}
dW_{1t}\\
dW_{2t}\\
dW_{3t}
\end{bmatrix}\\
&=\left(\begin{bmatrix}
0.5 + 0.1X_{1t}+0.3X_{2t}+0.2X_{3t}\\
0.45+0.3X_{1t}+0.2X_{2t}+0.3X_{3t}\\
0.4+0.2X_{1t}+0.3X_{2t}+0.3X_{3t}
\end{bmatrix}
\right) \: dt + \begin{bmatrix}
0.1 & 0.3 & 0.2 & 0.4\\
0.3 & 0.2 & 0.3 & 0.2\\
0.2 & 0.3 & 0.3 & 0.5\\
\end{bmatrix} \begin{bmatrix}
dW_{1t}\\
dW_{2t}\\
dW_{3t}
\end{bmatrix}.\\
\end{align}
The last equation follows the same matrix-form as provided in section 3.3. Therefore, we stringently follow the code setup from the example in the aforementioned section:
library(yuima)
sol <- c("x1", "x2", "x3")
a <- c("0.5+0.1*x1+0.3*x2+0.2*x3",
"0.45+0.3*x1+0.2*x2+0.3*x3",
"0.4+0.2*x1+0.3*x2+0.3*x3")
b <- matrix(c("0.1", "0.3", "0.2", "0.4",
"0.3", "0.2", "0.3", "0.2",
"0.2", "0.3", "0.3", "0.5"), 3, 4, byrow = T)
mod3 <- setModel(drift = a, diffusion = b, solve.variable = sol)
set.seed(123)
X <- yuima::simulate(mod3, xinit = 0.1)
yuima::plot(X, plot.type = "single", lty = 1:3)
The last code-snippet produces the following graph of the simulated 3-dimensional SDE:
You can further access the raw simulation data with X@[email protected]
. With the example provided above, you should be able to extend it by your own means. I hope my answer provides some insight.