Generate roxygen documentation for new seed argument prior to merging.
This commit is contained in:
Martin Chan 2021-01-13 09:16:53 +00:00
Родитель 9c08451a8b
Коммит fe9583ac7f
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -171,6 +171,7 @@ importFrom(dplyr,mutate_if)
importFrom(grDevices,rainbow)
importFrom(htmltools,HTML)
importFrom(igraph,graph_from_data_frame)
importFrom(igraph,layout_with_mds)
importFrom(igraph,plot.igraph)
importFrom(magrittr,"%>%")
importFrom(markdown,markdownToHTML)

Просмотреть файл

@ -13,6 +13,7 @@ network_leiden(
path = "network_p2p_leiden",
node_alpha = 0.8,
res = 0.5,
seed = 1,
desc_hrvar = c("Organization", "LevelDesignation", "FunctionType"),
return = "plot-leiden",
size_threshold = 5000
@ -43,6 +44,8 @@ if returning anything other than "plot-leiden" or "plot-hrvar".}
\item{res}{Resolution parameter to be passed to \code{leiden::leiden()}. Defaults to 0.5.}
\item{seed}{Parameter to be passed to \code{leiden::leiden()} to ensure consistency. Defaults to 1.}
\item{desc_hrvar}{Character vector of length 3 containing the HR attributes to use when returning the
"describe" output. See \code{network_describe()}.}