I meet an error about vec_as_location()
when estimating Network Stability, and when I Run rlang::last_error()
to see where the error occurred, it prompts me "Error in make_ansi_style(x[["color"]]) : Unknown style specification: br_magenta". But the code worked when I used another computer.
mynetwork <- estimateNetwork(mydata, default="EBICglasso",
corMethod = "spearman")
plot(mynetwork, layout = "spring", vsize=10, border.color="black", nodeNames=mynames, color="lightblue", legend=F)
b1 <- bootnet(mynetwork, boots=1000,nCores=4, statistics=c("strength", "expectedInfluence","edge"))
I don't know how to solve them. Thank you for your help!!