zoon icon indicating copy to clipboard operation
zoon copied to clipboard

ResponseCurve for multiple covariates

Open timcdlucas opened this issue 8 years ago • 7 comments

I'm not sure what the best solution is, but ResponseCurve currently defaults to printing each plot in turn, too quickly to be seen.

Perhaps an option to save all the figures somewhere. Or a pause until click like plot.lm has. Even a 3 second pause between plots might help.

timcdlucas avatar Sep 17 '15 16:09 timcdlucas

On RStudio you can flick back through them...

I think Greg wants to do a multi-predictor response-curve plot, in which case, we'd just set this to do a close-up on a single response of interest.

Interactive HTML graphics would be a nice addition, allowing users to flick between them, had a look previously but didn't get very far I'm afraid

goldingn avatar Sep 17 '15 21:09 goldingn

Gah, RStudio. I think the workshop validated my dislike.

I guess it should at least save the plot to the workflow object? Then you can

print(m7$report[[1]][[1]])

or whatever. I guess this applies to PrintMap as well.

timcdlucas avatar Sep 17 '15 22:09 timcdlucas

Yeah, something like that (but with fewer square brackets :)).

Executing modules in child processes would mean no side-effects like plotting to the console. Therefore everything would have to be saved, and the workflow print method could re-plot all of the saved images and html widgets. Perhaps in a report via links / embedding?

We could make that easy for module developers by setting up graphics devices for each output module in workflow. That would still work with child processes.

goldingn avatar Sep 17 '15 22:09 goldingn

I think it would be good to have plots returned to console, this provides instant feedback and is nice for the users. I guess this could be an HTML report instead, but the key thing in my mind is to make the results visible (ie not having to hunt around in the workflow object) and to make it transparent to the lay audience, how to save the plots they get.

AugustT avatar Sep 29 '15 09:09 AugustT

Yes I agree. It's one of the main ways I test if something is working. Run a workflow and check the image that gets printed (usually a map).

So I think console + perhaps in the object as well is a good way.

timcdlucas avatar Sep 29 '15 09:09 timcdlucas

why not just return the report as a side effect of workflow? That would give instant feedback, but all the information.

goldingn avatar Sep 29 '15 09:09 goldingn

Like I say I think the HTML report is fine as long as the results are visible and saving results is easy. It would be nice if we could get the report to display in the RStudio viewer as that might make it more 'familiar' to lay users.

AugustT avatar Sep 29 '15 10:09 AugustT