Skip to content

Commit 0fff7a1

Browse files
committed
Update README
1 parent 69fcc0c commit 0fff7a1

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,17 @@
44

55
This package was designed to provide an objective measurement of fetch for any
66
coastal location around New Zealand. Calculating fetch by hand is inaccurate,
7-
time-consuming and unreliable. The `fetchR` package provides a single function
7+
time-consuming and unreliable. The **fetchR** package provides a single function
88
to calculate the average fetch, all that is required is the latitude and
99
longitude of the location in decimal degrees.
1010

1111
# Web application
1212

13-
Check out the online application for `fetchR` at https://blasee.shinyapps.io/fetchR_shiny/!
13+
Check out the online application for **fetchR** at https://blasee.shinyapps.io/fetchR_shiny/!
1414

1515
# Local installation
1616

17-
The installation of `fetchR` requires the `rgeos` package successfully installed.
17+
The installation of **fetchR** requires the `rgeos` package successfully installed.
1818

1919
## From R
2020

@@ -30,7 +30,7 @@ install_github("blasee/fetchR")
3030
# Calculate average fetch
3131

3232
To calculate the average fetch for the marine site at latitude = -36.4 and
33-
longitude = 174.8 (to the nearest 100m):
33+
longitude = 174.8:
3434

3535

3636
```r
@@ -45,8 +45,8 @@ kawau_bay = fetch(-36.4, 174.8)
4545
```
4646

4747
```r
48-
# Contains the distances for each direction
49-
head(kawau_bay)
48+
# Contains the distances for each direction (the first 6 rows are shown below)
49+
kawau_bay
5050
```
5151

5252
```
@@ -57,6 +57,7 @@ head(kawau_bay)
5757
4 -36.41251 174.8280 120 2.87
5858
5 -36.41348 174.8206 130 2.38
5959
6 -36.41755 174.8189 140 2.58
60+
...
6061
```
6162

6263
The summary function gives the location coordinates, average and median fetch

0 commit comments

Comments
 (0)