Welcome back! R is an awesome programming language with a ton of capability, if you’re new to R, check out the link below to learn more…