Displaying 20 results from an estimated 46 matches for "thaler".
Did you mean:
thales
2012 Jul 02
5
ggplot: dodge positions
...)) + geom_boxplot() + geom_point(aes(ymax=max(y)), position = position_dodge(width=.75))
but that did not really help, as all points are now dodged and I just want to have a fixed offset for each subgroup of points such that the boxplot and the points are aligned. Any ideas?
Kind Regards,
Thorn Thaler
Mathematician
Applied Mathematics
Nestec Ltd,
Nestl? Research Center
PO Box 44
CH-1000 Lausanne 26
Phone: +41 21 785 8220
Fax: +41 21 785 9486
2010 Jun 21
2
list() assigning the same value to two items
...e thing without having to define an additional variable? Something like
z <- list(a=1, b=a)
or even
z <- list(a=b=1)?
Both commands don't work of course, but I'm just curious whether this is possible in principle (a rather academic question I've to admit)
Thanks + BR,
Thorn Thaler
Applied Mathematics Group
Nestl? Research Center
PO Box 44
CH-1000 Lausanne 26, Switzerland
Phone: + 41 21 785 8220
Fax: + 41 21 785 8556
2012 Oct 31
1
aggregate.formula: formula from string
...ined approach does not work as expected, and where my mistake lies? (that means in particular I am not asking for a solution of how to get the thing done - there are plenty of alternatives - but instead to understand why this very approach does not work)
Thanks for your help!
Kind Regards,
Thorn Thaler
Mathematician
Applied Mathematics
Nestec Ltd,
Nestl? Research Center
PO Box 44
CH-1000 Lausanne 26
Phone: +41 21 785 8220
Fax: +41 21 785 9486
2004 Oct 26
1
[Fwd: Re: kinit]
Gah, I meant to send this to the list ...
-------- Original Message --------
Subject: Re: [klibc] kinit
Date: Tue, 26 Oct 2004 21:05:47 +0200
From: Daniel Thaler <daniel@dthaler.de>
To: H. Peter Anvin <hpa@zytor.com>
References: <417DF200.5070105@zytor.com>
H. Peter Anvin wrote:
> I think the main bit of the puzzle that's missing for klibc integration
> at this point, other than the kbuild bits, is a kinit that's a true
&g...
2013 Nov 04
1
ggplot2: Add '+' operator for aes (uneval) objects
...ets precedence",
"elements %s occur in both summands - second one gets precedence"),
duplist)
warning(msg, domain = NA)
}
res <- c(e1[!dup], e2)
class(res) <- "uneval"
res
}
Any thoughts on that?
Kind Regards,
Thorn Thaler
NRC Lausanne
Applied Mathematics
2012 Dec 10
1
Sweep out control
...run though, but this battle has to be fought later] ;)
3. This solution should be easily extendable to an arbitrary set of columns and should work with missing cases for the treatments like d <- d[-c(2, 21)]
Thanks for your input, I am looking forward to your suggestions.
Kind Regards,
Thorn Thaler
Mathematician
Applied Mathematics
Nestec Ltd,
Nestl? Research Center
PO Box 44
CH-1000 Lausanne 26
Phone: +41 21 785 8220
Fax: +41 21 785 9486
2012 Jul 03
2
ggplot2: legend
...and "Observations" (but no line) and directly below that a line for "Overall Mean" (that is all the three items in one legend)? For that I tried to assign the same names to the legends but this did not work either.
So any help would be highly appreciated.
Kind Regards,
Thorn Thaler
Mathematician
Applied Mathematics
Nestec Ltd,
Nestl? Research Center
PO Box 44
CH-1000 Lausanne 26
Phone: +41 21 785 8220
Fax: +41 21 785 9486
2009 Jun 25
1
Rd: pdf manual: package information not on first page
...eems not to have to do with the alphabetical order, for there are
documentated function in both packages starting with a letter prior to
the first letter of the package name.
So my question is, if there is any possibility to get the package
documentation on the first page?
Best regards,
Thorn Thaler
2010 Aug 30
1
lattice: limits in reversed order with relation="same"
Hi everybody,
I want an x-axis which has xlim=c(max, min) rather than xlim=c(min, max)
in order to reflect the type of the process (cooling):
library(lattice)
myprepanel <- function(x,y,...) list(xlim=rev(range(x)))
x <- rep(1:10, 100)
z <- factor(sample(10, 1000, T))
y <- rnorm(1000, x, as.numeric(z))
xyplot(y~x|z, scales=list(x="free"), prepanel=myprepanel)
This works
2011 Oct 21
1
droplevels: drops contrasts as well
Dear all,
Today I figured out that there is a neat function called droplevels,
which, well, drops unused levels in a data frame. I tried the function
with some of my data sets and it turned out that not only the unused
levels were dropped but also the contrasts I set via "C". I had a look
into the code, and this behaviour arises from the fact that droplevels
uses simply factor to drop
2011 Jan 05
1
Minimum of an ordered factor
Hi everybody,
Is there a particular reason, why this code does not work as intended:
z <- factor(LETTERS[1:3], ordered = TRUE)
u <- 4:6
min(z[u > 4])
Error in Summary.factor(2:3, na.rm = FALSE) :
min not meaningful for factors
I agree that min is indeed not meaningful for not ordered factors, but
it makes sense for ordered factors. Especially since
z[3] <
2009 Jul 06
3
Speed up code, profiling, optimization, lapply vs. loops
High everybody,
currently I'm writinig a package that, for a given family of variance
functions depending on a parameter theta, say, computes the extended
quasi likelihood (eql) function for different values of theta.
The computation involves a couple of calls of the 'glm' routine. What
I'm doing now is to call 'lapply' for a list of theta values and a
function, that
2010 Dec 13
1
predict.lm[e] with formula passed as a variable
Dear all,
In a function I paste a string and convert it to a formula which I pass
to lm[e]. The idea is to write a function which takes the name of the
response variable and the explanatory variable and the data frame as an
argument and calculates an lm[e]. (see example below)
This works fine, but if I want to make a prediction on this model, R
complains that the object holding the formula
2004 Oct 19
1
include insmod in klibc?
...atically
against glibc, such a binary is (comparatively) huge at 565K.
The attached insmod.c is essentially the insmod.c from module-init-tools
minus a couple of lines related to calling the old (2.4) version of
insmod for backward compat.
BTW: Insmod compiled with klibc is 1.4K small.
Daniel Thaler
-------------- next part --------------
/* insmod.c: insert a module into the kernel.
Copyright (C) 2001 Rusty Russell.
Copyright (C) 2002 Rusty Russell, IBM Corporation.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Pu...
2010 Aug 23
2
Sum a list of tables
Hi all,
In R it is possible to sum tables:
> (a <- table(rep(1:3, sample(10,3))))
1 2 3
2 5 7
> a+a
1 2 3
4 10 14
Now suppose that I have a list of tables, where each table counts the
same things
> k <- list(a,a,a)
How can I sum all tables in k?
> do.call(sum, k)
[1] 42
does not work since it sums over each table.
> do.call(`+`, list(a,a))
1 2 3
4 10
2010 May 04
1
Lazy evaluation in function call
Hi everybody,
how is it possible to refer to an argument passed to a function in the
function call? What I like to do, is something like
f <- function(x,y) x+y
f(2, x) # should give 4
The problem is of course that x is only known inside the function. Of course I
could specify something like
f(z<-2,z)
but I'm just curious whether it is possible to use a fancy combination of
eval,
2011 Mar 08
1
Read data.frame from clipboard
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110308/5fcad543/attachment.pl>
2003 Mar 13
1
root can print, users not
Hi,
I have a Win2k client that should be able to print to a printer
connected to a SuSE 8.1 Linux box.
The situation:
- 'root' is able to print from Win2k to the Linux, user 'tim' is not.
- Both, 'root' and 'tim' have their home directories visible and
accessible on the Win2k.
- User acounts on Win2k and Linux are the same: 'root', 'tim' with
2011 May 11
0
stats:::biplot.prcomp: Scaling, typo in the help file?
...lam <- lam/sqrt(n)
biplot.default(t(t(scores[, choices])/lam), t(t(x$rotation[,
choices]) * lam), ...)
Thus, the observations are divided by the scale factor, i.e. they are scaled by lambda^(-scale) and not by lambda^(1-scale).
Am I missing something?
Kind Regards,
Thorn Thaler
Mathematician
Applied Mathematics Group
Nestl? Research Center
PO Box 44
CH-1000 Lausanne 26, Switzerland
Phone: +41 21 785 8220
Fax: +41 21 785 8556
2010 Jul 20
1
Telling R CMD check where to find libraries
Hello everybody,
Currently I'm developing a library, which uses some functions from
another package (namely plotrix). Consequently, I listed this dependency
in the DESCRIPTION file. When I try to run "R CMD check mypackage", the
check fails, for the library plotrix cannot be found on the system. As
far as I understood "R CMD check" uses --vanilla implicitly, thus, no