Generation

generate functionMon, 06 Feb 2023

make a loop of means

myfunction<-function(...) { x<-c(...) m<-mean(x) return(m) } myfunction(1, 2, 3, 4, 5)

Want to kickstart your project?Use the new AI Studio to create your code