Question

Some R code:

Some German characters äößü

dat <- 1:20
s <- 0
for (i in seq_along(dat)) {
  s <- s + dat[i]
}

Inline R code: calc_rule(dat, k), and now a block of R code:

hist(dat, breaks = n)
var(dat)
myfun <- function (a) {
  mean(a)
}

Some invalid R code but still in typewriter font is data1.

Answerlist

Solution

There is some feedback here.

Meta-information

exname: R Code extype: mchoice exsolution: 100 exshuffle: TRUE



hdarjus/WU-MyLearn-QGen documentation built on April 23, 2021, 7:15 p.m.