# implement a tree as a list of lists
# given a tree whose nodes have numeric data, compute the mean value of the data
# what is the result of:
a <- c(F, T, 2)
is.list(c)
is.double(a)
is.atomic(c(a, "4"))
is.integer(c(a, "a"))
b <- list( "a". 1.47)
is.vector(b)
# split-apply-combine
# NA and NaNs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.