tests/no_obs.R

library(tree)
data(cpus, package = "MASS")
cpus$mmin[1:10] <- NA
cpus$mmax[11:nrow(cpus)] <- NA
## segfaulted prior to 1.0-24
try(tree(perf ~ mmin+mmax, cpus))

Try the tree package in your browser

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

tree documentation built on Feb. 16, 2023, 10:10 p.m.