search for: logplot

Displaying 3 results from an estimated 3 matches for "logplot".

Did you mean: ligplot
2003 Nov 26
1
re: lines(lowess())
beginner's mistake on my part. the fitted turned out to have negative values in it, so the logplot failed. apologies. it still would be nice to have more docs on lowess, but this has nothing to do with my question. regards, /iaw
2009 Mar 05
1
Using vectors of names in calls for functions
...s I want to call it from my function. and I also understood that the "get()" way and the vector of names are not the good way to adress this. but I was not able to use/generalise the examples so far discussed on this list : mytable <- function(x,y) eval.parent(substitute(table(x,y))) logplot <- function(y, ylab = deparse(substitute(y))) { ylab y <- log(y) plot(y, ylab = ylab) } to achieve my problem. but i I would be very happy if you could help me on this. Best regards Pascal Boisson
2006 Sep 28
3
Evaluation of defaults in functions
Hello, and sorry if this is already explained somewhere. I couldn't find anything. R (2.3.1, Windows) seems to perform some kind of lazy evaluation when evaluating defaults in function calls that, at least for me, leads to unexpected results. Consider the following, seemingly equivalent functions: > foo1 <- function(x, y=x) { + x <- 0 + y + } > foo1(1) [1] 0 > foo2