powered by
function to simulate networks from the APLSM
Simulateaplsm(model, type)
object of class APlsm
character indicating the types of model. It could be "DD", distance by distance model, "DV", distance by vector model, "VV", vector by vector model
list containing:
Y.i (N x N) matrix containing the simulated Y.i
Y.i
N
Y.ia (N x M) matrix containing the simulated Y.ia
Y.ia
M
# NOT RUN { attach(french) b=aplsm(Niter=3,Y.i, Y.ia,D=2, type="DD") Simulateaplsm(b,"DD") # }
Run the code above in your browser using DataLab