Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

9 results for “from:Casper Ti. Vector”

ggplot2: expression() in legend labels?
Casper Ti. Vector · Sep 24, 2011 · r-help

Is there any way to use expression() in legend labels with ggplot2? It seems that things like > scale_shape_manual(value = c( > x = expression(italic(x)), > y = expression(italic(y)) > )) don't work. Thanks very much :) -- Using GPG/PGP? Please...

`mapply(function(x) function() x, c("a", "b"))$a()' returns `"b"'
Casper Ti. Vector · May 3, 2012 · r-help

As the title says, I want to apply a function (which itself returns a function) to a list (or vector), and get a list (or vector) of generated functions as the return value, but get unexpected result. Anyone with an...

ggplot2: expression() in legend labels?
Casper Ti. Vector · Oct 4, 2011 · r-help

Hmm, that's my fault when composing this mail, but the problem was really encountered at that time. Nevertheless, neither can I reproduce the problem now, perhaps I just made another mistake at that time. Thanks all the same, and...

ggplot2: behaviour with empty datasets
Casper Ti. Vector · Dec 23, 2011 · r-help

Thanks, I'll post to that list if the encountered problem is just about ggplot2. And from the date of the issue on GitHub it seems that I might need to manually work around the problem some more times :) On...

spline for implicit functions
Casper Ti. Vector · Sep 20, 2011 · r-help

Hello list, is there any R function for generating spline for implicit functions, for example a spline for an two-column data frame where for one value for one variable there maybe several correspondent values for another? Many thanks. Currently...

`mapply(function(x) function() x, c("a", "b"))$a()' returns `"b"'
Casper Ti. Vector · May 3, 2012 · r-help

Thank you very much, though I still don't quite undertdand the explanation :) Nevertheless, I just found a seemingly simple (at least quiker to type) solution after try-and-error: eval(mapply(function(x) {x; function() x}, c("a", "b...

Problem with logarithmic nonlinear model using nls() from the `stats' package
Casper Ti. Vector · Oct 1, 2011 · r-help

Example: > f <- function(x) { 1 + 2 * log(1 + 3 * x) + rnorm(1, sd = 0.5) } > y <- f(x <- c(1 : 10)); y [1] 4.503841 5.623073 6.336423 6.861151 7.276430 7.620131 7.913338 8.169004 [9...

Problem with logarithmic nonlinear model using nls() from the `stats' package
Casper Ti. Vector · Oct 1, 2011 · r-help

Ah, now I see... Thanks very much :) On Sat, Oct 01, 2011 at 09:27:34AM -0400, Gabor Grothendieck wrote: > On Sat, Oct 1, 2011 at 5:28 AM, Casper Ti. Vector > <caspervector at gmail.com> wrote: > Its linear given...

ggplot2: behaviour with empty datasets
Casper Ti. Vector · Dec 23, 2011 · r-help

For example, prepare like this > df.0 <- data.frame(x = 0, y = 0, note = "1") > df.1 <- subset(df.0, note == "1") > df.2 <- subset(df.0, note == "2") Then a call to > ggplot() + aes(x = x, y = y) + > geom...

Can't find what you're looking for? Try searching with Google .