This function extends the multiple regression quadratic assignment procedure (MRQAP) of network linear model to two mode networks.
netlm(formula, data, ...)# S3 method for netlm
summary(object, reps = 1000, ...)
# S3 method for summary.netlm
print(
x,
digits = max(3, getOption("digits") - 3),
signif.stars = getOption("show.signif.stars"),
...
)
A formula describing the relationship being tested.
A named list of matrices, graphs, or a tidygraph object.
Arguments passed on to lm()
.
an object of class "netlm", usually as a result of a call to
netlm()
.
Integer indicating the number of draws to use for quantile estimation. (Relevant to the null hypothesis test only - the analysis itself is unaffected by this parameter.) Note that, as for all Monte Carlo procedures, convergence is slower for more extreme quantiles. By default, reps=1000.
an object of class "summary.netlm", usually, a result of a call to
summary.netlm()
.
the number of significant digits to use when printing.
logical. If TRUE, <U+2018>significance stars<U+2019> are printed for each coefficient.
# NOT RUN {
mat1 <- matrix(c(0,1,1,0,0,1,1,1),4,2)
mat2 <- matrix(c(0,1,0,1,0,1,0,1),4,2)
mat3 <- matrix(c(0,0,1,1,0,0,1,1),4,2)
lmat <- list(mat1 = mat1, mat2 = mat2, mat3 = mat3)
model1 <- netlm(mat1 ~ mat2 + mat3, lmat)
summary(model1)
# }
Run the code above in your browser using DataLab