I need this function to be written in R using one of the three packages attached below. Please send me either a screenshot or the Rmd file if possible. Also, please include comments on processes. (must be done in R Notebook)
Q8. Write a function with two inputs: x and label: if label is 0, return x âˆ’ âˆš x; if label is 1, return x + âˆš x. Create an R package and name it use your last name. Install your package on your machine. Call your R function in your package and use quality as x, and white-or-red as label (white is 0 and red is 1). Create a histogram in R to show the distribution of transformed â€œqualityâ€. â€¢ Hint: consider R package glue, devtools, roxygen2
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount! Use Discount Code “Newclient” for a 15% Discount!NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.
The post r programming question creating a function appeared first on Superb Professors.