Programming | Information Systems homework help

 Learning Activity 2

 Download and install R and RStudio and perform initial setup and navigation .

Learn the required content of this unit, and conduct your research to answer the following questions in the discussion forum:

  1. What is a factor variable? When would you want to use a factor variable?
  2. What is unique about a numeric variable?
  3. Why would you use a data frame over a vector to store your data?
  4. Lists are the most complex of the R data types. What is the practical benefit of a list that stores a string, a numeric vector, and a matrix? Give real life examples.

You are encouraged to help each other in understanding Unit Activities and practicing with scripts and answering the questions in the discussion forum.

While you are watching the videos, and while you are reading the required texts, (Book chapter and articles) in “Unit 2: Activities” experiment with scripts and exercises in the Book chapter and the content and/or similar scripts. Practice with R scripts discussed in those resources using the  installed Rstudio on your computer.

Call the libraries you use within every one of your scripts (even if you have called it in your command line) because your professor should be able to run your script on his/her computer. When you use one of the functions from a library, specify the library you are using by ”::“ notation. For example:

library(ggplot2)
library(mlbench)
library(caret)
ggplot2::ggplot(…….)
caret::train(……..)

Add comments to your “.R”  script such that the reader would understand what you are intending by each command.

(OPTIONAL: If possible, for your working environment, then make an Rmarkdown document from your scripts with comments about what you have learned. Then Knit it to a pdf and upload three files to the Learning Activity Grade container.)

The file name should have this format: ActivityU4-firstnamelastname. For example, the file names will be:

  • LAU4-By-John-Smith.R          ( the necessary Script)
  • LAU4-By-John-Smith.Rmd    ( + if possible R Markdown document)
  • LAU4-By-John-Smith.pdf      (+ if possible the result of knitting your scripts in Rmarkdown document that includes the outcomes)

The place you MUST upload these two files is to the “Learning Activity 2: grade”  container.

 

Videos

TopicAccess

What is RStudio and Why Should You Download It? (6 min)

https://www.youtube.com/watch?v=riONFzJdXcs

R and R studio Set of videos (optional Complete play list)

https://www.youtube.com/watch?v=riONFzJdXcs&list=PLqzoL9-eJTNBlVXxWvJkq0dtVut2sICUW

Download and Install R and RStudio (5min)

https://www.youtube.com/watch?v=cX532N_XLIs

Intro to R (optional Complete play list)

R intro   7 videos in the play list

Create and Work with Vectors and Matrices in R (9 min)

https://www.youtube.com/watch?v=2TcPAZOyV0U

Lists in R (3 min)

https://www.youtube.com/watch?v=UffunYeERV0&list=PLOU2XLYxmsIK9qQfztXeybpHvru-TrqAP&index=12

Creating R Markdown Documents (13 min)

https://www.youtube.com/watch?v=HXf_231zcu4

Optional: RStudio Cloud Setup  (2 min)

https://www.youtube.com/watch?v=U-pLWJO6-P4

Optional: Importing Files and Datasets to RStudio Cloud (2 min)

https://www.youtube.com/watch?v=GaUE-d7tnNo

Optional: Working with R in Cloud | RStudio Cloud (11 min)

https://www.youtube.com/watch?v=SFpzr21Pavg

Articles

MediumTopicAccessTutorialGetting Started with Rhttp://becomingvisual.com/rfundamentals/getting-started-with-r.htmlTutorialData Structureshttp://becomingvisual.com/rfundamentals/data-structures.htmlTutorialR Packages and Scriptshttp://becomingvisual.com/rfundamentals/r-packages-and-scripts.html
 

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Order your essay today and save 20% with the discount code RESEARCH