Learn R Programming

BCT (version 1.2)

draw_models: Plot the results of the BCT and kBCT functions

Description

This function plots the models produced by the BCT and kBCT functions.

Usage

draw_models(lst)

Arguments

lst

output of the BCT/kBCT function.

Value

plots of the BCT/kBCT output models.

See Also

show_tree, BCT, kBCT

Examples

Run this code
# NOT RUN {
# Use the pewee dataset as an example:
q <- BCT(pewee, 5) # maximum depth of 5

draw_models(q)
r <- kBCT(pewee, 5, 3) 

# maximum depth of 5, and k = 3 (top 3 a posteriori most likely models)
draw_models(r)
# }

Run the code above in your browser using DataLab