-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dplyr::do error with surv_cutpoint #104
Comments
This issue is now fixed. The R package maxstat doesn't support very well an object of class tbl_df. Now, in # perform surv_categorize in groups determined by dataset
clin_expr %>%
group_by(dataset) %>%
do(data_cat =
surv_cutpoint(data = ., time = "times",
event = "patient.vital_status",
variables = c("PAX8", "dataset"))) ->
clin_exp_categorized |
Thank you @kassambara for your kind help. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dplyr::do error with surv_cutpoint
expected behaviour
surv_categorize works for grouped data.frames in
dplyr::do
worklfow.actual behaviour
I get an error, probably from
survival
while this works for not grouped set
session info
The text was updated successfully, but these errors were encountered: