I have an old KNIME workflow for survival analysis on a public and popular employee dataset that contains 1470 rows and 33 columns, and I’m running into an issue within a metanode for variable selection.
Inside a loop (Column List Loop Start), I iterate over columns and pass them to an R node (Table to R). My goal is to compute a log-rank test (survdiff from the survival package) for each variable against the survival outcome.
@MariaSpain you can check out a first approach here how to collect data from an R Snippet with data similar to your case. Will see if I can check your uploaded example.
@MariaSpain the handling of paths and column names is a mess to be honest. You will have to check the column names and encodings of the file and see that the columns iterate in a correct way.
I started fixing it but got stuck at some point where there is a reference to a jpg on some folder. My recommendation would be to start fixing this and make the path dynamic or configurable: