Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CH added code comments #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Next Next commit
CH added code comments
  • Loading branch information
chale295 committed Oct 8, 2021
commit 33a12a535d7c06f1b832c45f62d121c60b52e30c
7 changes: 7 additions & 0 deletions checking_assumptions.R
Original file line number Diff line number Diff line change
@@ -16,3 +16,10 @@ qqnorm(predictor.lm$residuals) #Checks normalcy
qqline(predictor.lm$residuals)
qqPlot(predictor.lm$residuals, main="QQPlot")
plot(predictor.lm,which=4) #Check influence of outliers.

# CH comments: Looks good! Only suggestion I have is to add a header to your
# script files. I started doing this recently myself and have found it helps
# when going back to old code (or reading someone else's...)
# I like to include name, the date, the version of the script, what the
# script does, and any input and/or output files.