Я использую пакет diagramR
для создания потоковых диаграмм. Проблемы, которые я не могу иметь название для блок-схемы (рисунок). Кроме того, я не могу иметь ярлыки, чтобы объяснить процесс. Любые предложения о том, как решить эту проблему?
grViz("digraph flowchart {
# node definitions with substituted label text
node [fontname = Helvetica, shape = rectangle]
tab1 [label = '@@1']
tab2 [label = '@@2']
tab3 [label = '@@3']
tab4 [label = '@@4']
tab5 [label = '@@5']
tab6 [label = '@@6']
# edge definitions with the node IDs
tab1 -> tab2;
tab2 -> tab3;
tab2 -> tab4 -> tab5
tab6
}
[1]: 'Questionnaire sent to n=1000 participants'
[2]: 'Participants came to clinic for evaluation n=700'
[3]: 'Participants non-eligible for the study n=100'
[4]: 'Participants eligible for the study n=600'
[5]: 'Study sample n=600'
[6]: 'Eligibility: >18, Live in an urban area'
")