Skip to contents

Scatter Plot of Type I Error Rate, Statistical Power, and Miss Rate

Usage

FigScatterPlot(results, type, mech, prop, n = NULL)

Arguments

results

Data frame. The package data frame results().

type

Character string. Type of results to plot. Valid values are "type1", "power", and "miss" for Type I error rate, statistical power, and miss rate, respectively.

mech

Character string. Missing data mechanism. Valid values are "COMPLETE", "MAR", and "MCAR".

prop

Numeric. Proportion of missing data. Valid values are .1, .2, .3. Note that if mech = "COMPLETE", prop will be set to 0.

n

Vector of positive integers. Sample size. Valid values are 50, 75, 100, 150, 200, 250, 500, and 1000. If n = NULL, use all sample sizes.

Value

Returns a ggplot2 plot object.

See also

Other Figure Functions: FigBoxPlot()

Author

Ivan Jacob Agaloos Pesigan