Skip to content

Doesn't seem to work with randomForestSRC #120

@pbreheny

Description

@pbreheny
fit <- rfsrc(Surv(time, status) ~ ., data = data)
visreg(fit, 'upcr')

results in

Error in class(x) <- unique.default(c("AsIs", oldClass(x))) : 
  attempt to set an attribute on NULL
5: trans(p$fit)
4: Response(fit, x, trans, alpha, ...)
3: getXY(fit, f, name, nn, cond.j, type, trans, alpha, jitter, ...)
2: setupV(fit, Data, xvar, nn, cond, type, trans, xtrans, alpha, 
       jitter, by, yName, ...)
1: visreg(fit, "upcr", gg = TRUE)

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