categoricalBarchart​1.zip

groups categorical data in a bar chart
173 download
Aggiornato 24 lug 2014

Visualizza la licenza

Use and application: there many applications that require the quantitative comparison of lists. Good examples are the case control clinical trials where life style, ethnicity and socio-economic data are compared.
Function: comparing list with categorical data
Input: as mentioned above one application is the case and control study design for clinical data and in this case one would chose the case and control status of the participants and compare them against all other parameters in the annotation.
Output: is a cell array with all group x category combinations and a vector with the counts for each group and category combination. This output can be easy graphed using a bar chart. The output is organized in a way the grouping comes first followed by the category which makes difference between the groups easily visible.
This function can easy be used in a loop and analyses and entire MS Excel spreadsheet with vast amounts of categorical data can be analysed in a very short period of time.
Input data: cel arrays – they can be easily extracted from MS Excel files : [raw, txt,cel]=xlsread('demo.xlsx');

Cita come

Dr. Jens Koopmann (2025). categoricalBarchart1.zip (https://it.mathworks.com/matlabcentral/fileexchange/47331-categoricalbarchart1-zip), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2013b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Bar Plots in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0