Description Usage Format Examples
Writing out the full list of facet variable names can be tedious.
Thus, it is often useful to store frequently used sets of variables
as elements in a named list.
This object stores these lists of names as elements in a list so that
they can be easily used in relevant functions such as regression
and bootstrap_r_squared_change
.
1 |
A list of character vectors corresponding to names in the facets_data data frame.
ipip_facets. A characeter vector of the 30 personality facet variable names.
ipip_factors. A character vector of the 5 personality factor variable names.
swb. A character vector the 3 subjective well-being variable names.
pwb. A character vector of the 6 psychological well-being variable names.
allscales. A character vector of all facet, factor, swb, and pwb scale variable names.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Load the data from the package:
data(facets_meta)
## Print all the vectors of names:
facets_meta
## Print all facet then factor names:
facets_meta$ipip_facets
facets_meta$ipip_factors
## These lists can then be used in relevant functions:
data(facets_data)
summary(regression('swl', facets_meta$ipip_facets, data=facets_data))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.