19 - factor(): the "levels", "exclude", "labels" arguments
Alex Tantos
In this short video I will present all the three arguments of the factor() function levels, exclude and labels, that offer flexibility while creating a factor and declaring its levels. Both arguments are related but used for slightly different purposes when creating a factor and their usage can be confusing to a beginner.
00:11 Learning outcomes 00:47 Inspecting the recorded_gender factor 03:37 The "levels" argument 04:39 The "exclude" argument 05:07 The "labels" argument 05:52 Tracing the differences between the 3 arguments 06:10 Code summary ... https://www.youtube.com/watch?v=DYz6Mlen74E
2022-01-13
0.0 LBC
Copyrighted (contact publisher)
30982647 Bytes