Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Try out RStudio (www.RStudio.com) as an R IDE with the knitr package.
Pull requests gladly accepted. If a pull request is too much effort, please at least file a new issue. :)

Visit http://asadoughi.github.io/stat-learning for an index of exercise solutions.
forked from asadough. gonna edit according to my solutions.
3 changes: 1 addition & 2 deletions ch2/applied.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# 8. (a)
college = read.csv("../data/College.csv")
# 8. (b)
fix(college)
Expand Down Expand Up @@ -154,7 +153,7 @@ median(Boston$ptratio)
# 19.05

# (g)
> t(subset(Boston, medv == min(Boston$medv)))
t(subset(Boston, medv == min(Boston$medv)))
# 399 406
# crim 38.3518 67.9208 above 3rd quartile
# zn 0.0000 0.0000 at min
Expand Down