Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function(x, na.rm=FALSE){
- if(!is.numeric(x)){
- stop("argument nie jest wartością liczbową");
- }
- if(na.rm==TRUE){
- x = na.omit(x, cols="x");
- }
- odch = sd(x);
- sreadnia = mean(x);
- wsp.zm = odch/srednia;
- return(wsp.zm)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement