Description Usage Arguments Details Value Author(s) See Also Examples
This function provides scatter plots for individuals (experimental units)
representation from MIMFA
results.
1 2 3 4 |
object |
an object of class |
comp |
an integer vector of length two. The components that will be used on the horizontal and the vertical axes respectively to project the individuals. |
colStrata |
a character vector of the same length than the number of strata containing the color names to be used to annotate the individuals per stratum. |
colMissing |
the fill color for imputated individuals. |
confAreas |
a character string indicating whether to plot
|
confLevel |
a numerical value indicating the confidence level
of ellipses being plotted when |
ellipseType |
the type of ellipse. The default |
alpha |
the |
lwd |
a positive number. The border line width of the confidence areas. |
cex |
a positive number. The amount by which plotting symbols should be magnified. |
legTitle |
character. The legend title. |
plotInd
function makes scatter plot for individuals
representation from MIMFA
results. Each point
corresponds to an individual. The individuals are colored with
rapport to their stratum, whereas imputed individuals are colored
according to the colMissing
argument.
Multiple imputation generates M
imputed datasets and
the variance between-imputations reflects the uncertainty associated
to the estimation of the missing values. The plotInd
function proposes two approaches to visualize the uncertainty
due to missing data: confidence ellipses and convex hulls. The idea
is to project all the multiple imputed datasets onto the compromise
configuration. Each individual is represented by M
points, each
corresponding to one of the M
configurations. Confidence ellipses
and convex hulls can then be constructed for the M
configurations
for each individual. For ease of understanding, not all individuals for
the M
configurations obtained are plotted.
Confidence ellipses can be created by setting the confAreas
argument to "ellipse"
. The 95% confidence ellipses are showed by
default. Convex hulls are plotted by setting the confAreas
argument
to "convex.hull"
. The computed convex hull results in a polygon
containing all M
solutions.
An object of class ggplot
.
Ignacio González and Valentin Voillet
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.