obs2Lines: Place Observations on Segment Line

Description Usage Arguments Value See Also Examples

Description

Place Observations on Segment Line

Usage

1
obs2Lines(df, lineframe, maxDist, projHOM)

Arguments

df

df of filtered observations

lineframe

spatial object of segments

maxDist

maximum distance a observation is allowed from a segment NA ignores this feature

projHOM

project string

Value

spatial line df

See Also

Other nwasc.internals: assignPointsToLines, calculate_seg_midpoints, calculate_segment_endpoints, complete_segments, create_all_segments, create_empty_segments, create_segmented_df, define_lineframe, duplicate_endpoints, listLines, place_midpoints, place_observations, segment_tracks

Examples

1
2
3
4
5
6
7
## Not run: 
seg.obs <- observations %>%
filter(transect_id %in% seg.mids$transect_id) %>%
  group_by(transect_id) %>%
    do(obs2Lines(., lineframe, maxDist, projHOM))

## End(Not run)

robgf/nwasc documentation built on Oct. 29, 2021, 8:13 p.m.