memnet package: Error in if (class(adj) != “igraph”) { :condition has length > 1

  Kiến thức lập trình

I try to use “memnet” package in R (https://rdrr.io/cran/memnet/f/vignettes/memnet.Rmd).
I have a problem with the function: network_plot(grow_st(20, 2)) ->
Error in if (class(adj) != “igraph”) { :the condition has length > 1

What goes wrong? How to fix it?

New contributor

Артем Бармин is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT