Skip to contents

The C++ forest does not survive saveRDS(); an rpf object restored via readRDS() without rpf_marshal()/rpf_unmarshal() is unusable.

Usage

rpf_is_valid(x)

Arguments

x

[rpf]: A fitted rpf model, possibly restored from disk.

Value

TRUE if the underlying model can be used, FALSE otherwise.