View source: R/randpicks_convert.R
| randpicks_convert | R Documentation |
Convert randpicks file from segchopr format to swfscDAS format
randpicks_convert(x.randpicks, x.segdata, seg.km)
x.randpicks |
Data frame with two columns;
randpick values formatted for segchopr that correspond to |
x.segdata |
Data frame; segdata that corresponds to |
seg.km |
numeric; target segment length used when creating |
Past DAS processing code (segchopr) only recorded the generated random
values, whereas swfscDAS randpicks files contain one line for each continuous
effort section. See das_chop_equallength for more details about
the swfscDAS randpicks format. This function 'converts' a randpicks data
frame generated by segchopr to a data frame that meets the swfscDAS randpicks
format requirements
Data frame with one line for each continuous effort section in
x.segdata, and two columns: effort_section and randpicks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.