BlasBenito/spatialRF

interaction_explorer error: creation of NAs in the transposition step

Opened this issue · 0 comments

Investigate for relevant interactions. The original function in spatialRF package contained an error that caused it to fail. The cause was the creation of NAs in the transposition of the output of the combinatorial sampling of pairs of variable names. I solved this by converting the factors to characters prior to the transposition step and saved as a new function: interaction_explorer_function.R (here attached as "interaction_explorer_function.txt"). It all worked after that.

interaction_explorer_function.txt