Learn R Programming

NormData (version 1.1)

Levels: Explore data

Description

Gives the levels of a variable.

Usage

Levels(x)

Value

No return value, called for side effects.

Arguments

x

A variable for which the different levels should be printed.

Author

Wim Van der Elst

Details

For details, see Van der Elst (2023).

References

Van der Elst, W. (2024). Regression-based normative data for psychological assessment: A hands-on approach using R. Springer Nature.

Examples

Run this code
data(Substitution)
Levels(Substitution$Gender)

Run the code above in your browser using DataLab