In this problem set one I set up variables for my age, grades, absent, name, age, and major. With this information I was then able to make a data frame that is called student_info. I was also able to print the 3rd grade of the grade variable that was an output of 75. Then I was able to upload the supermarket_sales.csv to R. Then I was able to set the directory to a folder I names AREC which is where I uploaded the data to. Once the data was uploaded I was able to read the data labeled mydata and using the read.csv. After completing all of these steps I finished by installing the package readr.
myage=(22)
grades=c(88,92,75,99,80)
print(grades[3])
absent=c("TRUE","TRUE","FALSE","FALSE"))
name=c("John","Emily","Michael","Jessica")
age=c(20,22,19,21)
major=c("AgBiz","ENRE","ENRE","AgBiz")
absent=c("TRUE","TRUE","FASLE","FALSE")
student_info=data.frame(name,age,major,absent)
setwd("AREC")
getwd()
mydata=read.csv("supermarket_sales.csv")
install.packages("readr")
1- To The Left
2- Cannot Download on laptop or school computer