The examples section of every base-R function's help page are just the WORST. #rstats
For example: https://www.rdocumentation.org/packages/base/versions/3.6.2/topics/switch
@capbri I agree. Help pages are mostly unhelpful unless you are an R expert. Even after many years of using R I find them often obscure, therefore I tend not to use them.
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.