Solution Template (02)

library(testthat)
library(autoharp)
X <- c(1L, 3L, 5L, 7L,  9L, 11L)
mean_X <- mean(X)
last.X <- X[length(X)]


Try the autoharp package in your browser

Any scripts or data that you put into this service are public.

autoharp documentation built on Nov. 13, 2021, 1:06 a.m.