powered by
This function produces goodness-of-fit diagnostics for LSM model.
goflsm(object, Y, Ysim = NULL, nsim = 100, seed, directed = NULL, stats = NULL, doplot = TRUE, parm = TRUE)
object of class 'lsm'
'lsm'
(N x N) binary adjacency matrix
N
list containing simulated (N x N) adjacency marices. Default Ysim = NULL
Ysim = NULL
number of simulations. Default nsim = 100
nsim = 100
for simulations
if the network is directed or not. Default directed = NULL
directed = NULL
statistics used. Default stats = NULL
stats = NULL
draw boxplot. Default doplot = TRUE
doplot = TRUE
do all the plots in one window. Default parm = TRUE
parm = TRUE
lsm, simulateLSM, plot.gofobj, print.gofobj
lsm
simulateLSM
plot.gofobj
print.gofobj
# NOT RUN { Y <- network(15, directed = FALSE)[,] modLSM <- lsm(Y, D = 2) myGof <- goflsm(modLSM, Y = Y) # }
Run the code above in your browser using DataLab