머신러닝2 [Machine Learning with R] Managing and Understanding Data Part.2 Exploring numeric variables The summary() function displays several common summary statistics. summary(usedcars$year) Min. 1st Qu. Median Mean 3rd Qu. Max. 2000 2008 2009 2009 2010 2012 - we can figure out that 'year' variable indicates the year of manufacture rather than the year the advertisement was posted, since we know the vehicles were recently listed for sale. > summary(usedcars[c("price".. 2022. 3. 24. [Machine Learning with R] Managing and Understanding Data Part.1 Vectors - The fundamental R data structure is the vector, which stores an ordered set of values called elements. - Vector can contain any number of elements, but all the elements must be of the same type! Several Vector Types 1. integer ( numbers without decimals ) 2. numeric ( numbers with decimals ) 3. logical ( True or False values ) 4. NULL ( indicate the absence of any value ) 5. NA ( missi.. 2022. 3. 24. 이전 1 다음