sozdai_barplot_s_prilagatelnym: Returns a barplot of adjectives

Description Usage Arguments Examples

View source: R/plotting.R

Description

Returns a barplot of adjectives

Usage

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
)

Arguments

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'...)

Examples

 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)

hrmJ/stockholm documentation built on March 7, 2020, 7 p.m.