Skip to content

Instantly share code, notes, and snippets.

@mmuratarat
Created September 14, 2017 02:53
Show Gist options
  • Save mmuratarat/4cbfd77008c64d645e2ba65ab6f41310 to your computer and use it in GitHub Desktop.
Save mmuratarat/4cbfd77008c64d645e2ba65ab6f41310 to your computer and use it in GitHub Desktop.
housing <- read.csv("https://goo.gl/eYbv9F",
header = TRUE,
sep = "," )
str(housing)
#'data.frame': 47 obs. of 3 variables:
# $ area : int 2104 1600 2400 1416 3000 1985 1534 1427 1380 1494 ...
# $ bedrooms: int 3 3 3 2 4 4 3 3 3 3 ...
# $ price : int 399900 329900 369000 232000 539900 299900 314900 198999 212000 242500 ...
head(housing)
# area bedrooms price
#1 2104 3 399900
#2 1600 3 329900
#3 2400 3 369000
#4 1416 2 232000
#5 3000 4 539900
#6 1985 4 299900
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment