R abalone data set

来源:互联网 时间:2017-01-08

#鲍鱼数据集aburl <- 'http://archive.ics.uci.edu/ml/machine-learning-databases/abalone/abalone.data'

abnames <- c('sex','length','diameter','height','weight.w','weight.s','weight.v','weight.sh','rings')

abalone <- read.table(aburl, header = F , sep = ',', col.names = abnames)

#另一种表头aburl <- 'http://archive.ics.uci.edu/ml/machine-learning-databases/abalone/abalone.data'

abnames <- c('Gender','Length','Diameter','Height','WholeWt','ShuckedWt','ViscWt','ShellWt','Rings')

abalone <- read.table(aburl, header = F , sep = ',', col.names = abnames)

 

abalone.data.rar

相关阅读:
Top