Description Usage Arguments Examples
Returns a barplot of adjectives
1 2 3 4 5 6 7 8 9 | sozdai_barplot_s_prilagatelnym(
dannyje,
this_adj,
spisok_utshastnikov = c(),
protsenty = F,
freqlabels = F,
nlabels = F,
y_axis_all_percents = F
)
|
dannyje |
bolshaja, bolshaja_moj, bolshaja_bez_moj etc.. |
spisok_utshastnikov |
vector of participants to include in the plot (if not set, then all) |
protsenty |
whether to use percentages instead of counts |
freqlabels |
whether to print labels of percentages on the plot |
nlabels |
whether to print labels of counts on the plot |
y_axis_all_percents |
whether to use scale of 0 to 100 with percentages |
adj |
the adjective ('dorogoj', 'milyj'...) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # samyj prostoi:
sozdai_barplot_s_prilagatelnym(bolshaja, 'dorogoj')
# esli hotshetsa ogranitsit spisok utshastnikoc
sozdai_barplot_s_prilagatelnym(bolshaja, 'dorogoj', spisok_utshastnikov=c('niania', 'snizu vverh', 'zhivotnye'))
# esli hotshetsa pokazat protsenty
sozdai_barplot_s_prilagatelnym(bolshaja, 'dorogoj', protsenty=T)
# ili mozhet byt lutshe vot tak
sozdai_barplot_s_prilagatelnym(bolshaja, 'dorogoj', protsenty=T, y_axis_all_percents=T)
# potom mozhno eshe napisat tsifry nad barami
sozdai_barplot_s_prilagatelnym(bolshaja, 'dorogoj', protsenty=T, y_axis_all_percents=T, freqlabels=T)
# ...ili eshe
sozdai_barplot_s_prilagatelnym(bolshaja, 'dorogoj', protsenty=T, y_axis_all_percents=T, freqlabels=T, nlabels=T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.