plot.hsd: Plots Tukey's HSD results

Description Usage Arguments Details Value Author(s) References See Also

View source: R/plot.hsd.R

Description

Using sims.hsd output, plots a heatmap of the number of Tukey's HSD categories found under each of the simulations, as well as the probability of finding the threshold number of different

Usage

1
plot.hsd(x, whichdo = c("Means", "Proportions"), useValNames = FALSE, printVals = TRUE, ...)

Arguments

x

output from sims.hsd

whichdo

Currently only "Means" and "Proportions" is implemented. Currently defaults to plotting both. "Mean" returns a plot panel that shows the mean number of groups identified using Tukey's HSD; "Proportions" yields a plot panel that shows the probability of recognizing at least the threshold percent of groups.

useValNames

Currently, leave at default value

printVals

If TRUE, prints the means and proportions on the plot along with the heatmap; if FALSE, heatmap only, no values printed

...

Options to pass along to makeMat.sims (which is not exported). Use probThresh to set the threshold percentage of populations you are interested in identifying for power analyses. If for example you are simulating 20 populations and want to quantify the power to distinguish at least 10 groups using Tukey's HSD, set probThresh = 0.5 [which is the default].

Details

See example under genSims

Value

Called for its side-effect (plotting)

Author(s)

Andrew L Hipp (ahipp@mortonarb.org)

References

Desmond SC, Garner M, Flannery S, Whittemore AT, Hipp AL. 2020. Leaf shape and size variation in bur oaks: An empirical study and simulation of sampling strategies. bioRxiv: 2020.05.11.088039.

See Also

genSims sims.hsd


andrew-hipp/traitsPopSim documentation built on Aug. 20, 2021, 6:28 p.m.