March 2019
Beginner to intermediate
250 pages
6h 6m
English
The character type of some variables is not yet clear. Our dataset belongs to the financial domain and has only financial ratios as data, so we'd expect variable types to be integers or numerical. Let's find out whether we're right.
Filter the character variables:
classes<-classes[classes$class=="character",]head(classes) ## variable class ## UBPRE543 UBPRE543 character ## UBPRE586 UBPRE586 character ## UBPRE587 UBPRE587 character ## UBPRE594 UBPRE594 character ## UBPRFB64 UBPRFB64 character ## UBPRFB69 UBPRFB69 character
The first variable, UBPRE543, measures the total losses of a bank providing construction loans divided by the total amount of granted construction loans. As we suspected, this variable ...
Read now
Unlock full access