Skip to content

Handling of missing values (NA) #6

@jemus42

Description

@jemus42

Two possible options:

  1. "We don't do NA, sorry": (Current behavior)

Missings in input data would cause an error or would be dropped (non-silently, to be safe(r)) via na.omit or similar.
Could use an na_rm argument in rpf() and predict.rpf() for that purpose.

  1. Handle NAs on the C++ level in whatever tree-ish way is suitable.

See also the Rcpp for everyone chapter on missings.

This is not a pressing issue for now since the implementation can be built and benchmarked under the assumption of complete data, but once we start considering a CRAN release we should at least have an opinion on the matter, I guess.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions