Displaying 20 results from an estimated 3000 matches similar to: "lattice question: adding slopes to bwplot"
2002 Jun 10
2
Crashing R (PR#1651)
Concerns: R 1.5.0 gui version, Windows (downloaded binary) and Linux
(installed from sources).
# Load the data from the attached file:
kk<-read.table("__filename__", header=1)
# attach the data:
attach(kk)
Snr<-factor(Snr)
# fool around with a call to anova.glm():
anova.glm( aov( nFD~Type+size+Modality+Error(Snr/(Type+size+Modality)) ) )
# Error: object nFD not found
# Well, I
2002 Jul 08
1
subset, once more
New to R, I had the bad idea to send a bug report about '[' not knowing it
had a drop= argument. Now, I wonder about the absence of this argument in
subset...
In both availabe methods (see below), there is a ... argument, but this
argument is not used in either. Rather, subset.data.frame explitictly passes
drop=F in 1 instance.
Before I start patching (for my own use): what is the
2002 Jun 19
4
levels() counter-intuitif? (PR#1693)
Suppose I have a factor size with levels "small", "medium" and "large".
Then, when I subset this factor:
>ss<-size[size!="medium"]
to get at the extremes,
>levels(ss)
....
Levels: large medium small
The same happens with
>subset( size, size!="medium")
I understand that the resulting factor inherits the possible levels from its
2002 Jun 17
1
overzealous help-links.sh script! (PR#1682)
Starting html help in the current version of R has a very annoying
side-effect. It indiscriminantly removes $HOME/.R, and replaces it with a
virgin copy. I discovered that when all of a sudden I got complaints about
my startup "library" not being found.
Below is a modified version of the script that doesn't do this. It is not
perfect yet (it shouldn't try to recreate links
2002 Jul 02
0
gtk+1.2.10
I upgraded to gtk+-1.2.10 and try to recompile R. This gtk release has its
headers in ${prefix}/include/gtk-1.2/g{t,d}k/ (as can be seen from
gtk-config --cflags). The gnome module build doesn't seem to account for
this, and thus can't find gtk.h &sui. Is this a known issue (aka bug)?
RenE J.V. Bertin
College de France/LPPA
11, place Marcelin Berthelot
75005 Paris, France
2002 Jun 12
0
documentation error for quantile (PR#1660)
>From the documentation to the quantile function:
...
`quantile(x,p)' as a function of `p' linearly interpolates the
points ( (i-1)/(n-1), ox[i] ), where `ox <- order(x)' (the ``order
statistics'') and `n <- length(x)'.
This gives `quantile(x, p) == (1-f)*ox[i] + f*ox[i+1]', where `r
<- 1 + (n-1)*p', `i <- floor(r)', `f
2002 Jul 10
0
history patch (was Re: portable snprintf implementation)
Here's the patch. It looks like it does what I want it to do, but I haven't
yet tried it with multiple-line entries and the like. Please let me know if
anything turns up that I should look into (I attached it too, in case
hotmail wraps).
RenE J.V. Bertin
College de France/LPPA
11, place Marcelin Berthelot
75005 Paris, France
## A couple of 'diff -c' patches to modify the
2005 Jan 17
2
bwplot: how not to draw outliers
RenE J.V. Bertin wrote:
> Hello, and (somewhat belated) best wishes for 2005.
>
> Can one order not to draw outliers in bwplot, or at least exclude them from the vertical axis scaling? If so, how (or what doc do I need to consult)?
> The options that have this effect in boxplot() do not appear to have any effect with bwplot (although outline=FALSE in boxplot does *not* change the
2004 Sep 17
2
lattice: bwplot and panel.lmline()
On Friday 17 September 2004 13:52, RenE J.V. Bertin wrote:
> Hello again,
>
> I am doing regressions (using panel.lmline() (and panel.abline(
> rlm(...))) ) inside a panel method which I pass to bwplot().
>
> What I would like to do is create a boxplot of categorised data
> (binned on the independent variable), and superpose a regression line
> which is calculated using the
2002 Jul 10
0
lattice::bwplot with unbalanced design
Hi,
I have an experimental design with 3 factors (Type, size and Modality), where the stimulus for Type==B, size==small was identical to that for Type==A, size==small. Since I am in the end only interested in Type==A, I "relabeled" all Type==B,size==small responses as Type==A,size==small. This gives me an unbalanced design, with a certain number of missing combinations, and others that
2002 Jul 15
0
Incompleteness in Lattice documentation (was Re: lattice question: adding slopes to bwplot)
On Mon, 15 Jul 2002 08:39:05 +0100, Paul Hewson <PHewson at devon.gov.uk> wrote regarding "RE: [R]
lattice question: adding slopes to bwplot"
Hi,
Thanks. It made sense indeed: enough to discover the panel.linejoin function which does what I was looking for.
<error here>
I also understand now why I didn't find this, and associated, routine:
2009 Jan 08
2
lattice question: independent per-row or per-column scaling?
Hello - and happy newyear to all of you!
I've got some data that I'm plotting with bwplot, a 3x2x3 design where
the observable decreases with the principle independent factor, but at
different rates.
I'd like to get lattice to impose not a single set of axes ranges
identical for all panels, but ranges that are identical for each panel
row or each column. Effects will stand out much
2002 Jun 26
6
GUI's for teaching
Dear All,
There is no advantage of GUI over CLI, IMO. The real
issue is the answer to the questions: "What should I
do next?" or "What am I allowed to do here?"
A "nice" interface, not necessarily GUI, will offer
friendly answers: "I was expecting you to do _this_"
or "In this situation you are allowed to do _these
things_"
You see, it's all
2004 Sep 17
1
controlling printing precision in paste()
Rene,
Look at ?format.
Sean
On Sep 17, 2004, at 9:21 AM, RenE J.V. Bertin wrote:
> Hello,
>
> I can't seem to find the way to modify the precision with which
> paste() prints its floating point numbers, more precisely the number
> of decimal digits printed. This is apparently not controlled by
> options( digits= ), and there is no appropriate argument to paste()
>
2006 Aug 02
2
best way to calculate per-parameter differences in across-subject means
Hello,
I have some data in a data.frame where for each of a number of
subjects, I have scores for all of a number of symptoms.
Subjects are subdivided in a number of groups, which have unequal sizes.
I'd like to plot between-group differences in the scores on the
various symptoms. Ideally, that would be in a form as would be
produced by
> bwplot( Score~Symptom )
but I'm not sure
2004 Nov 18
4
Re: changing (core) function argument defaults?
>From: Patrick Connolly <p.connolly@hortresearch.co.nz>
>To: "RenE J.V. Bertin" <rjvbertin@hotmail.com>
>Subject: Re: [R] changing (core) function argument defaults?
>Date: Thu, 18 Nov 2004 11:43:10 +1300
>
>On Wed, 20-Oct-2004 at 07:48PM +0200, RenE J.V. Bertin wrote:
>
>|> Hello,
2004 Nov 18
4
Re: changing (core) function argument defaults?
>From: Patrick Connolly <p.connolly@hortresearch.co.nz>
>To: "RenE J.V. Bertin" <rjvbertin@hotmail.com>
>Subject: Re: [R] changing (core) function argument defaults?
>Date: Thu, 18 Nov 2004 11:43:10 +1300
>
>On Wed, 20-Oct-2004 at 07:48PM +0200, RenE J.V. Bertin wrote:
>
>|> Hello,
2002 Jul 11
0
another aov question: unbalanced multiple responses
Hi,
This question is related to the bwplot issue I reported yesterday. I have a 3 factors (2x3x2) dataset that I collapsed into a 2 factors dataset (3x2 = sizexModality). For size==small, I have 2 observations per subject (Snr), for the other sizes only 1.
I reckoned that aov (and underneath, lm) might handle this as it should, since the subjects are idendified, when I do
> aov(
2005 Nov 11
0
strange classification behaviour
You could use cut. The key calculation would be:
w <- .05; eps <- 1e-5
breakpoints <- seq(min(kk), max(kk), .05)
breakpoints <- floor( (breakpoints + (w/2) + eps) / w) * w
values <- cut(kk, c(breakpoints, Inf), right = FALSE)
values <- ordered(values)
If you don't like the labels produced add lab = breakpoints as a cut arg.
On 11/10/05, RenE J.V. Bertin
2003 Feb 27
2
multidimensional function fitting
Take a look at package mgcv. Hope this helps. --Matt
-----Original Message-----
From: RenE J.V. Bertin [mailto:rjvbertin at despammed.com]
Sent: Thursday, February 27, 2003 1:39 PM
To: r-help at stat.math.ethz.ch
Subject: [R] multidimensional function fitting
Hello,
I have been looking around for how to perform a multidimensional, arbitrary
function fit (in any case non-linear; more below),