Description Usage Arguments Value
View source: R/ind_excl_plot.R
Provides an overview of the indicator exclusion results. Marked(x) indicators are excluded in the indicator exclusion procedure. See ind_excl
for details.
correlations between single indicator and outcome
correlations between sum-score and outcome with and without the marked indicators
1 2 3 4 5 | ind_excl_plot(indicators, indicators2 = vector(), outcome,
scalename = "scale", outcomename = "outcome",
indicatornames = 1:ncol(indicators), tagged = vector(),
tagged2 = vector(), location1 = "topleft", location2 = "topright",
pcrit = 0.05, multi = 1, coruse = "everything", ci = "estimate")
|
indicators |
Set of numeric indicators (items) in a matrix. |
indicators2 |
An additional set of indicators (e.g. informant-report ) |
outcome |
A numeric outcome vector. Indicators and outcome can be simulated with
|
scalename |
A string for labelling the scale |
outcomename |
A string for labelling the outcome |
indicatornames |
An array of strings for labelling the outcome. Default to numbers from 1 to n of indicators |
tagged |
items to be marked as excluded by the indicator exclusion procedure |
tagged2 |
same as 'tagged' for second scale (e.g., informant report) |
location1 |
Location for legends at left-side plot |
location2 |
Location for legends at right-side plot |
pcrit |
a p-value characterising the ‘significance’ of difference between
correlations—here called ‘significance of indicator exclusion’ (SONE). Look it up
from Table 2 in Vainik, Mõttus et al 2015, or simulate using
|
multi |
influences cex of certain plot variables. Defaults to 1 |
coruse |
argument for function cor(). Defaults to 'everything', as simulations have no missing data. |
ci |
should output object and plot have 95
CI-s from |
See ind_excl
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.