Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFail earlier in case of multiple levelplots #39
Conversation
|
Good point and valid solution. However, one could also return all levelplots and subsequently plot the list by hand or by explicitly calling print() on each level plot at the end of the function. Any thoughts? |
|
I don't have a strong opinion on how multiple levelplots should be dealt with. It appears that the current policy of no more than one levelplot was introduced in commit 7e7ef57, release: mboost 2.1-0. I don't know the reasoning behind the change. The objects returned by |
The function
plot.mboost()does not allow drawing multiple levelplots. Therefore there is no point in creating and storing (inRET) more than one such plot. I'm suggesting this patch which may save a lot of resources (processing time and memory) by not callinglevelplot()more than once.