Histogram - Wine Data Set - R -
i have solved problem. making small error did not see still new r. thank help!
i having lot of trouble trying make histogram wine data set available uci machine learning repository. homework assignment don't want/can't have exact answer, rather pointed in right direction. have been running around in circles days.
#csv <- comma separated values wine <- read.csv("c:\\users\\ashley~1\\appdata\\local\\temp\\rtmpgqbfyn\\data167c33fa34b4", header=false) wine <- gsub(",", "", wine) # remove comma hist(wine)
i try reading data directly repo instead of saving file first...
library("httr") <- get("https://archive.ics.uci.edu/ml/machine-learning-databases/wine/wine.data") df <- read.csv(textconnection(content(a)), header=f)
histograms seems work fine here...
Comments
Post a Comment