Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function "create_multilayer_object"?? #33

Open
mar-iana opened this issue Nov 15, 2024 · 3 comments
Open

function "create_multilayer_object"?? #33

mar-iana opened this issue Nov 15, 2024 · 3 comments

Comments

@mar-iana
Copy link

Could not find function "create_multilayer_object" in R, neither in this repository, what has happened with it?
Thanks in advance

@shainova
Copy link
Member

Did you install the last version? Here is the new website: https://ecological-complexity-lab.github.io/infomap_ecology_package/installation.html The infomapecology package now depends on elmn package so you need to install it too. And the function is called create_multilayer_network; see: https://ecological-complexity-lab.github.io/emln_package/multilayer.html

@mar-iana
Copy link
Author

Hi, thank you so much for your response!
I’m almost sure I have the latest version installed, as I installed it a month ago, and I’m already using the create_multilayer_network function.
The reason I was looking for the create_multilayer_object function was to set the arguments intra_output_extended=F and inter_output_extended=F, as suggested in the details of the function’s help section in R, in order to run run_infomap with relax=TRUE, which allows me to move between layers.

From what I’ve been exploring, if I don’t include the interlayer object in the create_multilayer_network function (i.e., interlayer_links = NULL), it is possible to achieve this result. But if I also want to include it and make the probability of random walks between layers possible but constrained by interlayer links, is that possible? Does the function, when creating a multilayer object with interlayer links, actually do precisely this?

Thanks again, and best regards,
Mariana

@shainova
Copy link
Member

Can you include a minimal working example of your code? something we can copy-paste and run. @Geutg will take it from here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants