implement factory pattern
This commit is contained in:
+2
-1
@@ -30,7 +30,8 @@ if (requireNamespace("here", quietly = TRUE)) {
|
||||
#' @param a A numeric vector of length *d* (coefficients).
|
||||
#' Must be the same length as the number of columns of `X_matrix`.
|
||||
#' @param phi A binary function `phi(x, y)` returning a numeric value.
|
||||
#' It should be symmetric (`phi(x, y) == phi(y, x)`) and bounded in $[0,1]$.
|
||||
#' It should be symmetric (`phi(x, y) == phi(y, x)`) and integrate to $1$ over
|
||||
#' $[0,1]^2$.
|
||||
#' @param rho_n A numeric scalar in $[0,1]$ that scales the graphon.
|
||||
#' @param Fv A cumulative distribution function (CDF) used to transform the
|
||||
#' linear predictor. Defaults to the standard normal CDF `pnorm`.
|
||||
|
||||
Reference in New Issue
Block a user