Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I have a dataframe called df, and I have two columns Q22 and BDD_Score. The gender column Q22 contains the following values: Male, Female, Not
I have a dataframe called "df", and I have two columns "Q22" and "BDD_Score".
The gender column "Q22" contains the following values: "Male", "Female", "Not listed", "Non-binary / third gender", "Male,Non-binary / third gender", "Female,Non-binary / third gender".
The "BDD_Score" column consists of numbers from 0-72.
How is a cluster analysis done of the scores by gender in R (while removing any "N/A" values)? Preferably a fviz_cluster if possible
Below is a snapshot of part of the dataframe
(120 2124 2124 1820 2124 1820 25+ 25+ 1820 2124 2124 2124 Q21 Senior Junior Junior Senior Junior Other Senior Freshman Junior Senior Senior (122 Female Female Male Male Not listed Male Female Female Male Male Male (123 she/her/hers She/her He/Him/His He/Him she/her/he/him he, him, his She,her she/her/hers Mr He/him He/Him/His BDD_Score 12 13 54 50 26 26 22 30 50 16 30
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started