^ YAML header
print ("hello world!")
## [1] "hello world!"
This leads to an output of the code above. The area inside the
is a chunk of R code. The rest is markdown which is outside
Anything inside dollar signs is treated as inline maths. Anything inside two dollar signs is a standalone equation.
e.g., \(x^2\), \[a^2 + b^2 = c^2\] Rescorla-Wagner model
\(V^{t+1}\) = \(V^{t}\) + V where \(\Delta V\) is given by \[ \Delta V = \alpha \beta (\lambda - V_{tot}) \]