ropensci / coder

Classification of Cases into Deterministic Categories
https://docs.ropensci.org/coder/
22 stars 4 forks source link

Explain default index #94

Closed eribul closed 4 years ago

eribul commented 4 years ago

What was the index based on in this example? i.e. how did the function categorize() know that the index should be a sum of the matched cars owned by each person? In the documentation for the function categorize it says that a value of NULL would lead to the use of all available indices, but what does that mean exactly? Available from where?

eribul commented 4 years ago

Review: Although the vignette itself has been removed (according to #93 ), I agree that the function documentation was unclear, and have therefore added the following for the index argument: \code{NULL} will include all available indices as specified by the "indices" attribute of the \code{cc} object (\code{attr(cc, "indices")})