SEB UNIFE #LAB 10 - 20/03/2019 MINI V. ##################### #In-class experiment: creation of a new database #Open Excel #Create a database: #- n statistical units = number of in-class students #- 4 variables : k1= student’s ID; K2=student’s weight (kg); K3=student’s height (cm); K4=sex. #Save your database in .csv (I call it wh) #Open R and check the database structure #Comment the variable’s nature #Plot your data and comment getwd() #change your directory (if necessary) getwd() wh=read.csv("wh.csv2") #our in-class pcs don't use csv2, but csv attach(wh) View(wh) str(wh) plot(weight,height)