Displaying 1 result from an estimated 1 matches for "mybmi".
Did you mean:
mvumi
2006 Aug 03
2
run self written functions
Hello,
I'm not sure if I'm in the right place with my question...
I'm running R on Windows and wrote a function and saved it as .R file.
It looks like this:
bmi <- function(weight, height) {
bmi <- weight / height^2
bmi
}
If I want to use this function, I have to mark everything and then press
Ctrl-R. But then everything single line is executed on the command line,