Example

text text

text text

echo("this code is skipped")
echo("this code is retained")

::: challenge

A challenge

Text text

  1. task
  2. task
v <- rnorm(10)
the_sum <- 0
for (i in v) {
  the_sum <- the_sum + i
}
the_mean <- the_sum / length(v)

How do you simplify this?

:::: solution

You can use the mean() function

mean(rnorm(10))

::::

:::

Text that will no longer exist

:::::: challenge

Smol challenge

A small challenge here with just text

:::: solution

cat("this is the solution")

::::

:::



zkamvar/up2code documentation built on Feb. 24, 2025, 7:32 a.m.