Plot two categorical columns from a table

I have this table
I am trying to plot column 4 and 7 on a graph, however they are not numerical values.
I want to see if theres' a correlation between the two.
Is there any way to do this?

댓글 수: 2

KSSV
KSSV 2018년 4월 12일
How you can get correlation among a string and number?
Peter Perkins
Peter Perkins 2018년 4월 13일
Two strings, actually. Everything in the table(?) is text.

댓글을 달려면 로그인하십시오.

답변 (1개)

Peter Perkins
Peter Perkins 2018년 4월 13일

0 개 추천

The question you are asking seems like you need to think in terms of contingency tables. The Statistics Toolbox has some tools to work with those.
The onl;y plot I know of for categorical vs. categorical is called a mosaic plot. I believe there's an implementation on the File Exchange.

카테고리

도움말 센터File Exchange에서 Tables에 대해 자세히 알아보기

질문:

2018년 4월 11일

답변:

2018년 4월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by