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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -