Closed dengxuebin closed 1 year ago
You misspelled 'statistics' in the plot(...)
call.
Best, Sacha
You misspelled 'statistics' in the
plot(...)
call.Best, Sacha
It worked,thanks a lot,sorry for my blunder.
No problem, happens so many times to me too :)
Hi SachaEpskamp, my code is following, but the problem was not changed, still only "strength" although according to your answer "use the statistics argument in bootnet(...) as well.". I am very confused. Hope your reply. Thanks a lot !
network <- estimateNetwork(as.matrix(dat2), default = "mgm", type = type1, level = level1)
(3)case-dropping bootstrap
b1c <-bootnet(network,nBoots=100,nCores=8, type="case",statistics=c("strength","closeness","betweenness"))
plot centrality stability
plot(b1c, statistics=c("strength","closeness","betweenness"))