Description Usage Arguments Value Author(s) See Also Examples
View source: R/imposeMissing.R
Visualize the missing proportion when the logistic regression method is used. The maximum number of independent variables is 2. The extra independent variables will be fixed as a value (the default is 0).
1 2 |
script |
The script used in specifying missing data using the logistic regression. See further details in the |
ylim |
The range of missing proportion to be plotted. |
x1lim |
The range of the first independent variable to be plotted |
x2lim |
The range of the second independent variable to be plotted |
otherx |
The value of the extra independent variables to be fixed as. |
useContour |
If there are two or more independent variables, the function will provide 3D graph. Contour graph is a default. However, if this is specified as |
Not return any value. This function will plot a graph only. If the number of independent variable is 0, the bar graph is provided. If the number of independent variables is 1, the logistic curve is provided. If the number of independent variables is 2, contour or perspective plot is provided.
Sunthud Pornprasertmanit (psunthud@gmail.com), Alexander M. Schoemann (East Carolina University; schoemanna@ecu.edu)
miss
to create the missing data template
impose
to impose missing data
1 2 3 4 5 6 7 8 9 10 11 | script <- 'y1 ~ 0.05 + 0.1*y2 + 0.3*y3
y4 ~ -2 + 0.1*y4
y5 ~ -0.5'
plotLogitMiss(script)
script2 <- 'y1 ~ 0.05 + 0.5*y3
y2 ~ p(0.2)
y3 ~ p(0.1) + -1*y1
y4 ~ p(0.3) + 0.2*y1 + -0.3*y2
y5 ~ -0.5'
plotLogitMiss(script2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.