plot the predictive distribution for one or two variables
extracted using predict.phylosem
Usage
# S3 method for class 'predict_phylosem'
plot(
x,
y,
variables = 1,
data,
data_labels,
distance_threshold = 0,
tree,
plot_legend = TRUE,
legend_cex = 1,
...
)Arguments
- x
Output from
predict.phylosem- y
Not used
- variables
which variables to plot (can only plot one or two at a time)
- data
optional data.frame of fitted data e.g.,
fit$data- data_labels
For each row of
data, listing the corresponding name fromtree$tip.label. Default pullsdata_labelsfromrownames(data)- distance_threshold
distance from taxa to use when plotting data
- tree
...
- plot_legend
logical; whether to display the legend. Default: TRUE.
- legend_cex
numeric; character expansion factor for the legend text. Default: 1.
- ...
Not used
