Skip to contents

Returns X restricted to the columns identified by sda_selected_attributes(fit). Intended to produce the constrained candidate frame for cta_fit or cta_descendant_family.

Usage

as_cta_candidates(fit, X)

Arguments

fit

An sda_fit object.

X

Data frame or matrix containing at least all selected attribute columns. Extra columns are dropped silently.

Value

Data frame with columns matching sda_selected_attributes(fit), in SDA step order.