반응형 data frame2 Interpret data frame/ summary(), typeof(), str(), class(),View(),names(),ncol(),length(),nrow(),dim() Interpreting the data frame > final_score student math science1 Jane 70 902 Dora 90 303 Beth 50 804 Park 100 100 > typeof(final_score) [1] "list" #list consists of 3 components which have 4 elements. #data frame is a kind of lists > class(final_score)[1] "data.frame" summary(), str() ----------------------identify data frame's structure > summary(final_score) student math science Length:4 Min. :.. 2020. 7. 16. (R) data.frame function / Way to make data frame 데이터 프레임 만들기 R Way to make a data frame data fame is mostly used data structure which consists of columns(Variables) and rows(Cases)1st way to make a data frame > student class height height_of_students height_of_students student class height1 Jane 1 1532 Dora 3 1723 Beth 2 165 4 Park 2 180 'height_of_students' become the data frame which consists of 3 variables ('students,' 'class,' 'height') and 4 cases. 2nd.. 2020. 7. 16. 이전 1 다음 반응형