This function calls init_matrix()
to obtain a matrix or data frame,
then extracts the class of each column. It returns a data frame containing
the class information for each column.
Value
A data frame with one column named class
that lists the class
of each column from the matrix or data frame returned by init_matrix()
.
Details
The purpose of this function is to provide the user with a quick way to check the default names and classes as the matrix is being filled instead of having to type `str(init_matrix())` every time the user forgets a category in the default matrix.
Examples
matriz_names()
#> class
#> year numeric
#> citation character
#> keywords character
#> profession character
#> electronic logical
#> purpose character
#> study_design character
#> outcome_var character
#> predictor_var character
#> sample numeric
#> dropout_rate numeric
#> setting character
#> inclusion_criteria character
#> ethnicity character
#> age numeric
#> sex factor
#> income factor
#> education character
#> measures character
#> analysis character
#> results character
#> limitations character
#> implications character
#> ethical_concerns character
#> biases character
#> notes character