Skip to content

predict_pls() has a bug when data is matrix #10

@NicholasDanks

Description

@NicholasDanks

If data is specified as matrix, the function errors:

Parallel encountered this ERROR: 
8 nodes produced errors; first error: incorrect number of dimensionsError in model$construct_scores[as.character(c(1:nrow(model$data))), ] : 
  subscript out of bounds

I think the problem is subsetting is different for matrices and dataframes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions