Skip to content

Conversation

@gaksaray
Copy link

No description provided.

@matloff
Copy link
Owner

matloff commented Jul 26, 2022 via email

@gaksaray
Copy link
Author

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

@matloff
Copy link
Owner

matloff commented Jul 27, 2022 via email

Copy link
Author

@gaksaray gaksaray left a comment

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

> 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
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


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
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

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
Author

Choose a reason for hiding this comment

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

Typo

> ?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
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


``` r
> nrow(ToothGrowth)
> nrow(tg)
Copy link
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

```

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
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

* 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
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

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
Author

Choose a reason for hiding this comment

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

Period missing

## <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
Author

Choose a reason for hiding this comment

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


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
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