For basic operators such as:
Normal text
This is a block quote
#define range
p = seq(0,1, length=100)
#plot for several Betas
plot(p, dbeta(p, 2, 10), ylab='density', type ='l', col='purple')
lines(p, dbeta(p, 2, 2), col='red')
lines(p, dbeta(p, 5, 2), col='blue')
#legends
legend(.7, 4, c('Beta(2, 10)','Beta(2, 2)','Beta(1,1)'),
lty=c(1,1,1),col=c('purple', 'red', 'blue'))
Treat the editor like a latex document. For instance,
\[ E=mc^2 \]
and for inline \(PV=nRT\).
install
library(tidyverse)
frames <- read_csv(file = “name.csv”)
Take data, summarise and do a concatenation of operations. ctrl shift m shortcut gia na ftiaxeis to pipe alla, ctrl shift s sto grouping gia na kanei sourcing