View source: R/assign_orientation.R
assign_orientation | R Documentation |
Function to assign orientation based on visual inspection of residual plots. Assigns orientation based on residuals for multiple depth bins, simultaneously.
assign_orientation( x, formula = vessel + cruise + haul ~ cdepth, resid.col, resid.cut, output.name = "orientation" )
x |
Data frame variables used to assign orientation. |
formula |
Function used to cast data frame, where the depth column used for casting is the response. |
resid.col |
Name of the column containing residual values. |
resid.cut |
Threshold value for assigning residuals. |
output.name |
Name of the orientation column. Default = "orientation" |
Returns 'x' with an new column indicating the assigned orientation.
Sean Rohan sean.rohan@noaa.gov
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.