Similar to terms, but this is used on a quoted model and will only return unique matches in a data.

termsInData(model, data)

Arguments

model

A quoted model statement

data

A data.frame-like object with column names in which to match terms in model