Description Usage Arguments Value Examples

This function sets up a depth stratified survey grid. A simple gradient in depth
is simulated using `spline`

with a shallow portion, shelf and
deep portion. Adding covariance to the depth simulation is an option.

1 2 3 4 5 6 7 8 9 10 11 12 |

`x_range` |
Range (min x, max x) in x dimension in km |

`y_range` |
Range (min y, max y) in y dimension in km |

`res` |
Resolution, in km, of the grid cells |

`shelf_depth` |
Approximate depth of the shelf in m |

`shelf_width` |
Approximate width of the shelf in km |

`depth_range` |
Range (min depth, max depth) in depth in m |

`n_div` |
Number of divisions to include |

`strat_breaks` |
Define strata given these depth breaks |

`strat_splits` |
Number of times to horizontally split strat (i.e. easy way to increase the number of strata) |

`method` |
Use a "spline" or "loess" to generate a smooth gradient or simply use "linear" interpolation? |

Returns RasterBrick of the same structure as `survey_grid`

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.