Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I'm using RStudio program, I need help with finding the mean and standard deviation for data in a file, which has some NAs (missing measurements).
I'm using RStudio program, I need help with finding the mean and standard deviation for data in a file, which has some NAs (missing measurements).
4. To calculate the mean zygomatic breadth and the sample standard deviation for males and females we could use group_by (Sex) and summarise using the mean C) and sd) functions. However, as seen below, these return NA because there are NAs in the zygomatic breadth data. Use the R documentation pages for mean and sd to figure out how to fix this problem. mergedData % group-by (Sex) %2% summarise (meanZB mean (ZygomaticBreadth.mm), sdZB sd (ZygomaticBreadth.mm)) ## # A tibble: 2x3 ## Sex meanZB sdZB ## 1 F ## 2M NA NA NA NAStep 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