FreeListTable.freq | R Documentation |
This is a collection of helper functions for the function FreeListTable
, that determine the relationship between a particular subject, and a particular code. For example, FreeListTable.freq counts how often an individual has responded with the specified Code. They are not intended for individual use.
FreeListTable.freq(mydata, CODE = "CODE", Salience = "Salience", Subj = "Subj", subjNum, CODEnum)
mydata |
Your data, as a data frame, with rows for each response gathered. For each response, you are expected to have the CODE, salience and Subj. |
CODE |
The Column of "mydata" that the CODE of the response can be found in. |
Salience |
The column of "mydata" that the calculated Salience is to be found in. Note that this will have been determined earlier using "CalculateSalience" |
Subj |
The column of "mydata" in which the subject number can be found. |
subjNum |
The subject number of interest. |
CODEnum |
The code you desire information about. |
A number, representing either: The presence/absence of the given code in the individuals responses (if "presence" was used), the total number of times the code was given in response (for "freq") The total Salience of a given code (summed over all responses with that code) The Maximum Salience (effectively the Salience levels when the Code was first used) or the highest rank the code recieved for the given individual.
If you are using these functions directly yourself, something has probably gone wrong.
Alastair Jamieson Lane. <aja107@math.ubc.ca>
Benjamin Grant Purzycki. <bgpurzycki@alumni.ubc.ca>
data(FruitList)
test<- FruitList
FreeListTable.freq(test,subjNum=7,CODEnum="apple")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.