R abalone data set
Posted Aipeli
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了R abalone data set相关的知识,希望对你有一定的参考价值。
#鲍鱼数据集
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)
以上是关于R abalone data set的主要内容,如果未能解决你的问题,请参考以下文章