Description Usage Arguments Value Author(s) Examples
View source: R/race_perrelationship.R
This function extracts the race of each node for each subject. This function should be used after the relationship dataframe has been created.
1 | race_perrelationship(qualtricsoutput, relationshipdf)
|
qualtricsoutput |
This is the Qualtrics dataframe. Make sure to run 'clean_qualtrics' before you run this function. |
relationshipdf |
this is the new relationship-per-line dataframe. This dataframe is the output from the 'relationship_perline' function. |
This function will return the relationshipdf with the added race information. Make sure to assign the relationshipdf to this function (see example).
Nicole Burke
1 | relationshipdf <- gender_perrelationship(Qualtricsoupt, relationshipdf)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.