search for: funct01

Displaying 1 result from an estimated 1 matches for "funct01".

Did you mean: func1
2010 Aug 20
2
output values from within a function
...ike to be able to debug by seeing what the value of specific expressions are each time it cycles through a loop that executes the expression. I'm relatively new to this so there may be much simpler more elegant ways to do it. For example, is there a command I can put within the function "funct01" that will output the value of z1 to the screen? Thanks Jim ================================== ## Practice file to try out evaluations y <- 5 (x <- y^2) funct01 <- function (x,y) { z1 <- x + y z2 <- x * y z3 <- x^y results <- data.frame (z1=z1, z2=z...