From 0ab93f41ce265cab0f556bcc91b6b09f36d48720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Szabolcs=20Horva=CC=81t?= Date: Wed, 12 Mar 2025 14:12:12 +0000 Subject: [PATCH] docs: update decription of `order` parameter of `ego()` and related functions after negative/infinite values became allowed in the C core --- R/structural-properties.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/structural-properties.R b/R/structural-properties.R index 898a595bdc1..3d9df23d28a 100644 --- a/R/structural-properties.R +++ b/R/structural-properties.R @@ -1627,7 +1627,8 @@ neighborhood_size <- ego_size #' @aliases neighborhood ego_graph #' @aliases connect ego_size ego #' @param graph The input graph. -#' @param order Integer giving the order of the neighborhood. +#' @param order Integer giving the order of the neighborhood. Negative values +#' indicate an infinite order. #' @param nodes The vertices for which the calculation is performed. #' @param mode Character constant, it specifies how to use the direction of #' the edges if a directed graph is analyzed. For \sQuote{out} only the