Skip to content

Commit

Permalink
Improve docs for sequential_dist(), see #32
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Aug 30, 2021
1 parent 18b0a5d commit 7637f45
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
8 changes: 7 additions & 1 deletion R/slopes.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@ slope_distance_weighted = function(d, elevations) {
#' @param elevations Elevations in same units as x (assumed to be metres).
#' Default value: `m[, 3]`, meaning the 'z' coordinate in a matrix of
#' coordinates.
#' @param m Matrix containing coordinates and elevations
#' @param m Matrix containing coordinates and elevations.
#' The matrix should have three columns: x, y, and z. Typically
#' these correspond to location in the West-East, South-North, and vertical
#' elevation axes respectively.
#' In data with geographic coordinates, Z values are assumed to be in
#' metres. In data with projected coordinates, Z values are assumed to have
#' the same units as the X and Y coordinates.
#' @inheritParams slope_vector
#' @inheritParams sequential_dist
#' @return A vector of slope gradients associated with each linear element
Expand Down
8 changes: 7 additions & 1 deletion man/elevation_extract.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion man/sequential_dist.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion man/slope_matrix.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7637f45

Please sign in to comment.