Skip to content

Patch - minor edits and typos etc. - #11

Open
gaksaray wants to merge 2 commits into
matloff:masterfrom
gaksaray:patch-1
Open

Patch - minor edits and typos etc.#11
gaksaray wants to merge 2 commits into
matloff:masterfrom
gaksaray:patch-1

Conversation

@gaksaray

Copy link
Copy Markdown

No description provided.

@matloff

matloff commented Jul 26, 2022 via email

Copy link
Copy Markdown
Owner

@gaksaray

Copy link
Copy Markdown
Author

Sure, no problem. Would commenting my changes on README.md file work for you?

@matloff

matloff commented Jul 27, 2022 via email

Copy link
Copy Markdown
Owner

@gaksaray gaksaray left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes commented for your review

Comment thread README.md
> include spaces, and must start with a letter.)

Note that **n81100** now is a 21-element vector. Its first element is
Note that **n81100** now is a 20-element vector. Its first element is

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Incorrect vector length n81100

Comment thread README.md

So the 4th, 8th, 9th etc. elements in **Nile** had the queried property.
(Note that those were years 1875, 1879 and so on.)
(Note that those were years 1874, 1878 and so on.)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correction on corresponding years for Nile data

Comment thread README.md
i.e. the height, weight and age of that person.

**Note that that row would also be cnsidered a vector. The third column
**Note that that row would also be considered a vector. The third column

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo

Comment thread README.md
> ?ToothGrowth
``` (The data turn out to be on guinea pigs, with orange juice or
```
(The data turn out to be on guinea pigs, with orange juice or

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note was written on the same line as previous code fence so it didn't appear as distinct line

Comment thread README.md

``` r
> nrow(ToothGrowth)
> nrow(tg)

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previous and following code blocks use tg as shorthand for ToothGrow so these can be changed to tg to stay consistent

Comment thread README.md
```

So, the risk of diabetes increases substantial over that 10-year period,
So, the risk of diabetes increases substantially over that 10-year period,

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be adverb; typo

Comment thread README.md
* The condition within the 'while' says that (a) we are not yet at the
end of the **airpass** vector, AND (b) our total is still less than
10000.
end of the **airpass** vector, AND (b) our total is still less than 10000.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This didn't appear correctly in html form so moved 10,000 to previous line

Comment thread README.md

There's more, though. The **cumsum** function is vectorized, so using
it, though seemingly wasteful, may actually be faster than the loop
it, though seemingly wasteful, may actually be faster than the loop.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Period missing

Comment thread README.md
## <a name="ide"> Installing and Using IDEs </a>

An *interactive development environment* (IDE) is a software tool that
An *integrated development environment* (IDE) is a software tool that

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread README.md

The real "power users" tend to use either Emacs Speaks Statistics (ESS),
a plugin for the Emacs editor, or Nvim-r,, a plugin for the vim editor.
a plugin for the Emacs editor, or Nvim-r, a plugin for the vim editor.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extra comma removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants