From 406100707ac6475b13b9db0598c2d7b4066d0165 Mon Sep 17 00:00:00 2001 From: Anthony North Date: Mon, 30 Oct 2023 05:54:26 +0000 Subject: [PATCH] fix xyz doc --- R/geometry.R | 5 ++++- man/xy.Rd | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/R/geometry.R b/R/geometry.R index fd97355..e5df03a 100644 --- a/R/geometry.R +++ b/R/geometry.R @@ -4,7 +4,10 @@ #' Create point vectors #' #' @name xy -#' @inheritParams wk::xyz +#' @inherit wk::xyz +#' @param x <`double`> Coordinate x dimension +#' @param y <`double`> Coordinate y dimension +#' @param z <`double`> Coordinate z dimension #' @examples #' xy(1:5, 1:5) #' xyz(1:5, 1:5, 1:5) diff --git a/man/xy.Rd b/man/xy.Rd index 7e154da..1956ccf 100644 --- a/man/xy.Rd +++ b/man/xy.Rd @@ -13,7 +13,16 @@ xyz(x = double(), y = double(), z = double(), crs = wk::wk_crs_longlat()) sfc_point(x = double(), y = double(), z = NULL, crs = wk::wk_crs_longlat()) } \arguments{ +\item{x}{<\code{double}> Coordinate x dimension} + +\item{y}{<\code{double}> Coordinate y dimension} + \item{crs}{A value to be propagated as the CRS for this vector.} + +\item{z}{<\code{double}> Coordinate z dimension} +} +\value{ +A vector of coordinate values. } \description{ Create point vectors