Why would you use data frame over vector to store your data


Problem: Business Intelligence and Analytics

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

a) What is a factor variable? When would you want to use a factor variable?

b) What is unique about a numeric variable?

c) Why would you use a data frame over a vector to store your data?

d) 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.

Request for Solution File

Ask an Expert for Answer!!
Operation Management: Why would you use data frame over vector to store your data
Reference No:- TGS03245841

Expected delivery within 24 Hours