Completed class activity 2 (Timothy Lee)#3
Open
timothyLeeXQ wants to merge 4 commits intocore-methods-in-edm:masterfrom
Open
Completed class activity 2 (Timothy Lee)#3timothyLeeXQ wants to merge 4 commits intocore-methods-in-edm:masterfrom
timothyLeeXQ wants to merge 4 commits intocore-methods-in-edm:masterfrom
Conversation
Finished the questions, may improve and update.
Committing completed Rmd file and its associated knitted html file
lizarova777
reviewed
Sep 29, 2019
|
|
||
|
|
||
| studentPerformance = rnorm(100, 75, 15) | ||
| studentPerformance[studentPerformance > 100] = 100 |
There was a problem hiding this comment.
There is an another way of setting maximum and minimum values with a single line of code. round(pmax(1, pmin(100, rnorm(n=100, mean=75, sd=15))))
lizarova777
reviewed
Sep 29, 2019
|
|
||
| 10. Finally use the knitr function to generate an html document from your work. If you have time, try to change some of the output using different commands from the RMarkdown cheat sheet. | ||
|
|
||
| *I presume this just means press "knit"?* |
There was a problem hiding this comment.
Another way: render("nameofthefile.Rmd", output_format="html_document")
lizarova777
reviewed
Sep 29, 2019
|
|
||
| *I presume this just means press "knit"?* | ||
|
|
||
| 11. Commit, Push and Pull Request your work back to the main branch of the repository |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The updated class-activity-2.Rmd file and its associated .html file are my response for this class activity.