Description Usage Arguments Value Note Examples
Used by 'getNQTVCs' to obtain the items necessary for a scale (or in some cases, just a single items, e.g. 'number of days drank, last 30'). It has the effect of generalizing 'getNQTVCs' so that the call to that function is compact, and does not require the user to go find the names of the items in any given scale.
1 | getTVCCols(pVar)
|
pVar |
A string giving one of the abbreviations for a variable understood by the function. See below for a list of possible values. |
A vector of strings corresponding to the names of the items comprising a variable in the database table 'PInf1.dbo.SWave'
Choices for pVar are: AB (Antisocial behavior), OV (Others victimization of you), YV (You victimizing others), T3 (Tobacco, freq of use in last 30 days), E3 (E-tobacco, freq of use in last 30 days), C3 (Chewing Tobacco, freq of use in last 30 days), A3 (Alcohol, freq of use in last 30 days), B3 (Binge drinking, freq in last 30 days), M3 (Marijuana use, freq in last 30 days), AL (Alcohol, freq of use, lifetime) BL (Binge, freq of use, lifetime) ML (Marijuana, freq of use, lifetime)
NOT EXPORTED
1 2 | # Internal function, not normally available to users. See 'makeTVTbl'
# source code to see how it is used.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.