Skip to content

ranomForestSRC::plot.variable not behaving as expected #42

@harrisonwsmith

Description

@harrisonwsmith

I am attempting to work through the "Random Forests for Regression" vignette, however I have run into an issue near the end when generating partial coplot data for a contour plot. Rather than returning 50 unique coplots for each specific value of rm, the coplots are all identical. The result is that the contour plot only has contours for predicted y values from one x variable, making it just a 3D representation of a single variable co-plot.

In a previous version of the "Random Forests for Regression" vignette this did not appear to be an issue (see output image below)
image

However, in the updated version of the vignette, the issue has appeared:
Screen Shot 2022-08-05 at 12 18 22 AM

Perhaps an update in the plot.variable() function have altered how these codes perform?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions