Skip to contents

The dataset name has been changed to 'military_tbl_df' to avoid confusion with other packages in the R ecosystem. This naming convention helps distinguish this dataset as part of the 'usdatasets' package and identifies it as a tibble. The original content of the dataset has not been modified.

Usage

data(military_tbl_df)

Format

A tibble with an unspecified number of observations and 6 variables:

grade

Factor indicating the military grade, with 3 levels.

branch

Factor indicating the branch of the military, with 4 levels.

gender

Factor indicating the gender of the participants, with 2 levels.

race

Factor indicating the race of the participants, with 7 levels.

hisp

Logical indicating whether the participants identify as Hispanic.

rank

Integer representing the rank of the participants.

Source

Data from military personnel demographics