Skip to content

Commit

Permalink
Update getting_started.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
mkapur-noaa committed Dec 16, 2024
1 parent 0e89b85 commit 1aee4b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vignettes/getting_started.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ The function `refit_Growth()` can be used to generate plots of the growth parame
<!-- # # data(fits1);data(fits2) -->
<!-- # ``` -->

Then, run the function with the breakpoints as-is and inspect the outputs.
Run the function with the breakpoints as-is and inspect the outputs.

```{r, echo = TRUE, include = TRUE, warning = FALSE}
# fits1 <- refit_Growth(simulated_data, breakpoints, showPlot = FALSE)
Expand All @@ -247,7 +247,7 @@ fits1$fits_plot

# Updating and re-fitting the breakpoints

Based on the exploration above, you may decide to manually combine the second and third strata, using just a single breakpoint north to south. In this case, we would do away with the breakpoint at $-141^{\circ}$)W, replacing it with `-Inf`:
Based on the exploration above, you may decide to manually combine the second and third strata, using just a single breakpoint north to south. In this case, we would do away with the breakpoint at $-141^{\circ}$)W, replacing it with `-Inf`.


```{r, echo = TRUE, include = TRUE, warning = FALSE}
Expand All @@ -257,7 +257,7 @@ breakpoints$long <- -Inf
# showPlot = FALSE) ## refit the curves
```

We can repeat the visualization and see that 1) the parameter values are now more distinct from one another and 2) so are the curves.
We can repeat the visualization and see that 1) the key parameter values are now more distinct from one another and 2) so are the curves.

```{r, echo = TRUE, include = TRUE, warning = FALSE}
fits2$pars_plot
Expand Down

0 comments on commit 1aee4b6

Please sign in to comment.