4/9/2023 0 Comments Statistics cheat sheet# 1.600205e+01 6.216041e+00 2.007790e+03 1.807961e+05 #If you have any missing values that should be ignoredĬolMeans(ames, na.rm=TRUE) # Order Lot.Frontage Lot.Area Overall.Qual Overall.Cond # Garage.Area Enclosed.Porch X3Ssn.Porch # Bathrooms Bedroom.AbvGr Kitchen.AbvGr TotRms.AbvGrd Fireplaces Mean(ames$SalePrice) # 180796.1 median(ames$SalePrice) # 160000 #Mean of multiple columns using colMeans() functionĬolMeans(ames) # Order Lot.Frontage Lot.Area Overall.Qual Overall.Cond #The func mean() and median() is used to compute mean/median Week 1: Summarizing Data and Sampling #*****SUMMARIZE DATA*****#
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |