man-roxygen/graph_template.R

#' @param graph <%= ifelse(exists("dynamic") && dynamic, "A dynamic graph", "Any class of accepted graph format") %> (see \code{\link{netdiffuseR-graphs}}).
#' <%=ifelse(exists("self") && self, "@param self Logical scalar. When \\code{TRUE} autolinks (loops, self edges) are allowed (see details).", "") %>
#' <%=ifelse(exists("multiple") && multiple, "@param multiple Logical scalar. When \\code{TRUE} allows multiple edges.", "") %>
#' <%=ifelse(exists("valued") && valued, "@param valued Logical scalar. When \\code{TRUE} weights will be considered. Otherwise non-zero values will be replaced by ones.", "") %>
#' <%=ifelse(exists("undirected") && undirected, "@param undirected Logical scalar. When \\code{TRUE} only the lower triangle of the adjacency matrix will considered (faster).", "") %>
#' <%=ifelse(exists("toa") && toa, "@param toa Integer vector of length \\eqn{n} with the times of adoption.", "") %>
#' <%=ifelse(exists("slice") && slice, "@param slice Integer scalar. Number of slice to use as baseline for drawing the graph.", "") %>
srdyal/diffusiontest documentation built on Sept. 2, 2023, 2:49 p.m.