Description Usage Arguments Examples
View source: R/biasdetection_functions.R
This function creates different kinds of plots such as bar plot, density plot and histogram for the generated dataframe rr_data. The percentage of random responding is analysed both group wise (groups from the survey) and respondent wise. Plots for group wise analysis include bar plot while for respondent wise, includes both bar plot and histogram.
1 | create_plots_rr(rr_data, excluded_time_groups, num_time_groups)
|
rr_data |
A dataframe containing unique responses (based on id) from the original panel data |
excluded_time_groups |
A list containing the indices of excluded time groups. Excluded time groups could be the time groups which could be neglected for calculating the percentage of random responding |
num_time_groups |
Number of time groups create_plots_rr() |
1 2 3 4 | ## Not run:
create_plots_rr(dataframe, list(1,3,5), 12)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.