Use Rstudio Create Following Connected Way Could Cut Thank Write Function Called Makeint Q37102573

Use Rstudio to create the following. They are all connected insome way I could not cut it down. Thank you.

## Write a function called `make_introduction` that takes in twoarguments: name, and age.
## This function should return a string value that says somethinglike “Hello, my name is {name}, and I’m
## {age} years old”.

## Create a variable `my_intro` by passing your variables `my_name`and `my_age` into your `make_introduction`
## function. Always print the result!

## Create a variable `casual_intro` by substituting “Hello, my nameis “, with “Hey, I’m” in your `my_intro`
## variable. Check out base R functions ‘sub’ and ‘gsub’, andstringr functions ‘str_replace’ and ‘str_replace_all’

##

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.