Skip to content

Commit 34fc300

Browse files
committed
rework documentation
1 parent fec1618 commit 34fc300

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

R/xml_convert.r

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
#' @param verbose Logical. Use for debugging. If TRUE, prints out useful content
99
#'
1010
#' @return An Rpath object (list) with the following components:
11-
#' \item{stanzas}{}
12-
#' \item{pedigree}{}
13-
#' \item{diet}{}
14-
#' \item{model}{}
11+
#' \item{stanzas}{Stanza parameters}
12+
#' \item{pedigree}{Pedigree parameters}
13+
#' \item{diet}{Diet parameters}
14+
#' \item{model}{Model parameters}
1515
#'
1616
#' @family xml
1717
#'

man/create.rpath.from.eiixml.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vignettes/Convert_EwE_to_Rpath.Rmd

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ library(Rpath)
2020

2121
If you have developed your model in Ecopath and you now want to bring it in to R and use Rpath for analysis, there are tools available in `Rpath` to do just that. First, you need to export your model from EwE to XML format. This will result in multiple files being exported to your machine. You will just need to locate the file with the extension `eiixml` and let `Rpath` do its magic!
2222

23-
For example, take the model `West Bering seas.eiixml` exported from Ecobase. We can read in this file and convert it to an rpath object using the function `create.rpath.from.eiixml()`
23+
For example, take the model `Western_Bering_Sea.eiixml` exported from Ecobase. We can read in this file and convert it to an `Rpath` object using the function `create.rpath.from.eiixml()`
2424

2525
```{r convert1, echo = TRUE, eval = TRUE}
2626
# Read in the model
@@ -35,7 +35,7 @@ The variable `model` is a list object containing the data objects required to ba
3535
* pedigree -
3636
* stanzas -
3737

38-
## The Group table
38+
## Model parameters
3939

4040
```{r group, echo = FALSE, eval = TRUE}
4141
model$model |>
@@ -47,7 +47,7 @@ model$model |>
4747
4848
```
4949

50-
## The Diet table
50+
## Diet parameters
5151

5252
```{r diet, echo = FALSE, eval = TRUE}
5353
model$diet |>
@@ -59,7 +59,7 @@ model$diet |>
5959
6060
```
6161

62-
## The Pedigree table
62+
## Pedigree parameters
6363

6464
```{r pedigree, echo = FALSE, eval = TRUE}
6565
model$pedigree |>
@@ -71,7 +71,7 @@ model$pedigree |>
7171
7272
```
7373

74-
## The Stanza info
74+
## Stanza parameters
7575

7676
Some models also contain stanza information. This West Bering Sea model does not.
7777
However the `Rpath` object will contain an empty stanzas field as a place holder.

0 commit comments

Comments
 (0)