Skip to contents

This function records the presence of the features in an object of class pamrtrained.

Usage

record_nsc(object)

Arguments

obejct

an object of class pamrtrained

Value

A list with one element per response, each element being an integer vector of length equivalent to the number of features.

Details

The presence of the features in the pamrtrained object in input is recorded and returned in a named vector per output response.

If a feature is present in the model then the feature is returned with a 1. If a feature is missing in the model then the feature is returned with a 0.

Author

Alessandro Barberis