Search found 4 matches

by jojop2
Tue Feb 11, 2025 6:05 am
Forum: Module development
Topic: How to show a dynamic number of ggplot2 objects ...
Replies: 5
Views: 99313

Re: How to show a dynamic number of ggplot2 objects ...

Thank you for the immediate reply. Is it possible to define, that if the vars is not filled, only one plot is built and otherwise the "levels(vars)"? Is it correct, that I don't need the .run function, only the .plot function, if I only want to show plots? How I understand it now, I would ...
by jojop2
Tue Feb 11, 2025 5:14 am
Forum: Module development
Topic: How to show a dynamic number of ggplot2 objects ...
Replies: 5
Views: 99313

Re: How to show a dynamic number of ggplot2 objects ...

I can calculate the number of plots in advance, based on the unique values in the group column of the dataset.

I forgot to mention, that my existing function returns the plots in a list. So the plots cannot be build up from scratch in jamovi.

Thank you!
Joe
by jojop2
Mon Feb 10, 2025 12:47 pm
Forum: Module development
Topic: How to show a dynamic number of ggplot2 objects ...
Replies: 5
Views: 99313

How to show a dynamic number of ggplot2 objects ...

I have a grouping variable.
For each single value a list of plots is given back, which I need to show in the result pane.

With a specific title and description for each plot.

How is that working?
by jojop2
Thu Jan 30, 2025 5:33 am
Forum: Module development
Topic: How to reference to a local library on HDD for a module
Replies: 1
Views: 65910

How to reference to a local library on HDD for a module

I have a local library in zip format, which is neither on CRAN nor on github. Is there a way to access functions from this library in a custom module? I tried several things in DESCRIPTION and NAMESPACE and init.R files without any success. I can't convince the jamovi compiler to add my library to t...