#generate data
L = camel.tiger.generator(d = 20, graph="hub")
out1 = camel.tiger(L$data)
#model selection using stars
out1.select2 = camel.tiger.select(out1, criterion = "stars", stars.thresh = 0.05)
plot(out1.select2)
#model selection using cross validation
out1.select3 = camel.tiger.select(out1, criterion = "cv")
plot(out1.select3)
Run the code above in your browser using DataLab