Calculate metrics for NRSA protocol data.

addWadeSubstrateSizes | Add substrate size variables to wadeable data |

allCharToFac | Turns all character variables in a data frame to factors or... |

calcGrade | Calculate the grade from rise and run |

calculateAngleMetrics | Calculate slope and bearing metrics |

calculateBankHardening | Calculates a bank hardening metric for City of Portland use. |

calculateBoatableReachLength | Calculates the reach length for a boatable site |

calculateBoatAngleMetrics | Calculate boat protocol bank angle metrics |

calculateBoatNumberWettedWidth | Calculate boat protocol number of observed wetted widths |

calculateBoatThalwegSubstrateMetrics | Calculate non-wadeable substrate metrics |

calculateCanopyCover2 | Calculates Canopy Densiometer metrics |

calculateChannelConstraint | Calculate the channel constraint metrics |

calculateChannelHabitatProportions | Calculate channel habitat metrics |

calculateChannelMetrics | Calculate channel metrics |

calculateDistanceAlongThalweg | Calculate distance from sequence of station numbers and... |

calculateFishCoverMeans | Calculate fish cover metrics |

calculateFishIBI | Calculates Fish IBI |

calculateHIWeightedSums | Calculate weighted human influence metrics |

calculateHumanInfluence | Calculate human influence metrics |

calculateHumanInfluenceSD | Calculate human influence standard deviation metrics |

calculateInvasiveScore | Calculate total invasive score |

calculateLittoralDepth | Calculate non-wadeable littoral depth metrics |

calculateLWDCountMetrics | Calculate LWD metrics |

calculateLWDCumulativeMetrics | Calculate cumulative LWD metrics |

calculateLWDSiteArea | Calculate length of area sampled for LWD |

calculateLWDSiteLength | Calculate length of area sampled for LWD |

calculatePercentSideChannel | Proportion of side of reach with side channels. |

calculatePool | Determine which depths in a vector of depths represent pools |

calculatePoolDimensions | Residual depths from a thalweg profile |

calculatePoolMetrics | Calculate residual pool metrics |

calculateProportionSeeOverBank | Calculates the proportion of the reach over which you can see... |

calculatePropTranInvPresent | Calculates the invasive species metrics. |

calculateRefinedCriticalDiameter | Calculate several versions of critical diameter: ltest,... |

calculateRelativeBedStability | Calculate relative bed stability metrics. |

calculateRiparianVegetation | Calculates visible riparian vegetation metrics. |

calculateShoreToVegDistance | Calculates summaries of shore to vegetation distance |

calculateSideChannelCount | Calculates number of side channel transects: 'sidecnt' |

calculateS_RP100 | Not even sure what this modified metric is... |

calculateSubstrateEmbed | Calculates Substrate Embeddedness metrics... |

calculateThalwegDepthMetrics | Calculate thalweg depth metrics: xdepth, sddepth, n_d |

calculateThalwegRatios | Calculate thalweg width depth ratios |

calculateTransectRatios | Calculates metrics of bankfull width to (bankfull height +... |

calculateWadeableReachLength | Calculates the reach length for a wadeable site |

calculateWadeBankMetrics | Calculates wadeable bank metrics |

calculateWadeSubstrateMetrics | Calculate wadeable substrate metrics |

calculateWettedWidthMetrics | Calculates wetted width metrics |

convertFactorToNumeric | A shortcut for the common idiom to turn factors back into the... |

convertNamedVectorToMetricDF | Convert a named vector to a metric data.frame |

coordinatesFromTraverse | Computes coordinates for a traverse |

count.notna | Returns the number of non-missing values in the vector, |

cutDimensions | Cuts a sequence of dimensions to only those dimensions that... |

extractResidualPoolDimensions | Extracts the dimensions of residual pools from the array of... |

fastSummaries | Helper function for fast summaries |

fillMissingLWD | Fill in missing LWD volume. |

first | Identify the first and last elements for each run in a vector |

fixBoatableDepthUnits | Convert boatable depth units from m to cm |

forceSlopeGt0 | Make slope slightly positive |

formatFishCover | Format fish cover data for calculations |

formatRiparianVegetation | Format Riparian Vegetation data for calculations |

getAngleFromDisplacement | Returns the angle from the y axis for a vector |

getChannelConstraint | Formats the channel constraint form data as metrics |

getPoolInformation | Determines basic information about a sequence of pools |

gmean | Calculate the geometric mean |

grapes-and-grapes | An AND operator that returns T for NA & T |

identifyIncompleteSites | Identify incomplete sites |

idr | Interdecile range |

iqr | Interquartile range with default type = 2 |

isSiteSampled | Determines whether a site was sampled from x site validation... |

is.subset | Is the set a subset of another set. |

joinExtraTransects | Join extra side channel transects |

lag | Lag a vector |

meltMetrics | Melts metric data |

modalClass | Determines most common classes, based on counts for each... |

modalvalue | Return the value which represents the mode |

nrsa.options | Set nrsa package options |

nrsa-package | Calculate National Rivers and Streams Assessment metrics. |

nWadeableStations | Estimates the intended number of wadeable thalweg stations to... |

observedLWDTransects | Calculate number of LWD observed transects |

organizeThalwegData | Organize thalweg data for residual pool analysis |

p2pDistance | Returns a vector of point to point distances for a line. |

progressReport | Print a progress report |

removeSideChannels | Removes side channels from a data frame |

renameHumanInfluenceMetrics | Renames metrics for human influence |

rescaleMetrics | Map fish IBI raw metric scores to rescaled subindex scores |

rowSumsProtectNA | Protect rowSums from a row which is all NA; return NA instead... |

which.is.max | Which value is the max |

WoodClassesData | LWD class metadata |

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.