Description Usage Arguments Details Value Author(s) See Also Examples
This function provides "correlation circle", scatter plots for variables
representation from MIMFA
results.
1 2 3 |
object |
an object of class |
comp |
an integer vector of length two. The components that will be used on the horizontal and the vertical axis respectively to project the variables. |
col |
a character or integer vector of colors for plotted character and symbols, it must be of length the total number of data tables (see Details). |
varNames |
either a character vector with data table
names, or |
cex |
a numeric vector of character expansion sizes for the plotted character and symbols, can be of length one or of length the total number of data tables. See Details. |
pch |
plotting 'character'. A vector of single characters or
integers, can be of length one or of length the total number
of data tables (see Details). See |
alpha |
the |
spty |
logical, specifying the type of plot region to be used.
If |
cutoff |
a numeric between 0 and 1. Variables with correlations below this cutoff in absolute value are not plotted (see Details). |
radIn |
a numeric between 0 and 1, the radius of the inner circle. Defaults to 0.5. |
overlap |
logical. Whether the variables in data tables should be
plotted in one single panel. Default is |
ncols |
numeric. When |
legTitle |
character. The legend title. |
plotVar
produces a "correlation circle", i.e. the
correlations between each variable and the selected components
are plotted as scatter plot, with concentric circles of radius
one and radius given by radIn
. Each point corresponds
to a variable.
The varNames
argument can be used in order to select a
part of the data table variable labels that are drawn. For example
if you have data tables named "table1"
and "table2"
,
you can use varNames = "table1"
and then the variable
names in the "table1"
are drawn.
The arguments cex
and pch
can be either vectors
of length one or of length the total number of data tables. In the
first case, the single value determine the graphics attributes for
all data table variables. Otherwise, multiple argument values can
be specified so that each data table variable can be given its own
graphic attributes. In this case, each component of the vector
corresponds to the attributes of the each data table variable.
A list containing the following components:
df |
a data frame used to generate the |
ggp |
an object of class |
Ignacio González
1 2 3 4 5 6 7 8 9 10 11 12 13 | #-- load data and create MIDTList object
data(NCI60)
midt <- MIDTList(NCI60$mae)
#-- performs MIMFA
midt <- MIMFA(midt, ncomp=2, M=5)
#-- default plot
plotVar(midt)
#-- select data table variables to draw and cutoff
plotVar(midt, varNames="trans", cutoff=0.55)
plotVar(midt, varNames=TRUE, cutoff=0.55)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.