Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi all! Struggling with R programming don't know why there is this error! 7 + {R} 8 - std. err . cv = function(x) {

Hi all! Struggling with R programming don't know why there is this error!

image text in transcribed
7 + {R} 8 - std. err . cv = function(x) { 9 mean=mean(x) 10 std=sd(x) 11 se=std/sqrt(length()) 12 cv=std/mean 13 zoutput=c(se, cv) 14 names (zoutput)=c("Standard error", "Coefficient variance") 15 return(zoutput) 16 3 17 18 winglength . mm=c(62 , 64, 71, 59, 66, 58, 62, 54, 61, 51) 19 sex=c("M" , "M" , "M", "M", "M", "F", "F", "F", "F" , "F"y 20 names (winglength . mm)=sex 21 winglength . mm 22 winglength . mm [4] 23 summary(winglength . mm) 24 std. err . cv(winglength. mm) 25 X MMMMMFFF FF 62 64 71 59 66 58 62 54 61 51 M 59 Min. 1st Qu. Median Mean 3rd Qu. Max . 51. 00 58.25 61.50 60.80 63.50 71.00 Error in length() : 0 arguments passed to 'length' which requires 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elementary Linear Algebra with Applications

Authors: Howard Anton, Chris Rorres

9th edition

471669598, 978-0471669593

More Books

Students also viewed these Mathematics questions

Question

Pledge to conduct your own investigation?

Answered: 1 week ago