-
Notifications
You must be signed in to change notification settings - Fork 13
/
DataBasketball.R
18 lines (11 loc) · 946 Bytes
/
DataBasketball.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
## ----global_options, include = FALSE-------------------------------------------------------------------------------------------------------------------
try(source("../.Rprofile"))
## ------------------------------------------------------------------------------------------------------------------------------------------------------
# We can load the dataset in first by setting our directory, then loading in the dataset
basetball_data <- read.csv('data/Basketball.csv')
## ------------------------------------------------------------------------------------------------------------------------------------------------------
# Alternatively, we can just use one line
basetball_data <- read.csv('data/Basketball.csv')
## ------------------------------------------------------------------------------------------------------------------------------------------------------
# Summarize all variables in data frame
summary(basetball_data)