Displaying 7 results from an estimated 7 matches for "dushoff".
2006 Jun 13
2
Updating R on an old Linux installation (was: Where is package gridBase?)
...-----------------------------------------------------
> ./configure
(lots of positive stuff)
checking for X... no
configure: error: --with-x=yes (default) and X11 headers/libs are not
available
---------- Forwarded message ----------
Date: Mon, 12 Jun 2006 21:27:02 -0400 (EDT)
From: Jonathan Dushoff <dushoff at eno.princeton.edu>
To: R-help at stat.math.ethz.ch
Subject: Where is package gridBase?
Trying to follow the instructions on the page
http://tolstoy.newcastle.edu.au/R/help/05/12/17153.html (to make a
figure with an inset), I typed
> install.packages("gridBase", repo...
2012 Nov 15
4
Selecting the "non-attribute" part of an object
I have two matrices, generated by R functions that I don't understand.
I want to confirm that they're the same, but I know that they have
different attributes.
If I want to compare the dimnames, I can say
> identical(attr(tm, "dimnames"), attr(tmm, "dimnames"))
[1] FALSE
or even:
> identical(dimnames(tm), dimnames(tmm))
[1] FALSE
But I can't find any
2011 Jun 30
1
heatmap documentation typo
Under Details, the documentation says "[if Rowv or Colv] is 'NULL',
_no reordering_ will be done for the corresponding side." In fact, as
explained elsewhere in the documentation, 'NA' is required, not
'NULL'.
An anonymous expert suggested that I should attach an svn diff file to
this report, so I will.
JD
-------------- next part --------------
Index:
2006 Nov 13
1
hybrid in fisher.test broken?
The hybrid feature in fisher.test looks to me like an excellent way to
analyze my two-way tables. The only problem is that it does not seem
to be implemented. Am I right about this?
An example is pasted below. I note that I get the warning message only
when I shouldn't: for a 2x2 table hybrid seems to be ignored without
warning. In no case does fisher.test seem to be checking Cochran
2005 Sep 08
1
Setting width in batch mode
...controlling the line width of Sweave source, using R, Sweave or LaTeX
options. Making the font smaller does not count, though; I want to
break the lines.
Any help is appreciated.
An example of Sweave input and output is appended.
The last break is right, while the others are too late.
Jonathan Dushoff
----------------------------------------------------------------------
bug.rnw
<<>>=
options(width=55)
data(state)
data.frame(area=mean(state.area), pop=mean(state.pop), hop=mean(state.area))
c(medianarea=median(state.area), medianpop=median(state.pop))
c(medianarea=median(media...
2005 Nov 14
0
Trouble with aovlist and Tukey test
...9;t seem to
feed components of my aovlist to TukeyHSD. I guess I wouldn't expect to
be able to use the error strata, but I did expect to be able to use the
final stratum.
I have posted a complete example, which I hope explains why I am
confused, below. Any help will be appreciated.
Jonathan Dushoff
----------------------------------------------------------------------
> morley$Expt = factor(morley$Expt)
> morley$Run = factor(morley$Run)
>
> mod = aov(Speed~Expt+Run, data=morley)
> class(mod)
[1] "aov" "lm"
>
> TukeyHSD(mod)$Expt
diff l...
2009 Jan 30
2
Subsetting without partial matches
I have a list of observations of individuals. I would like to make a
list of individuals, with a data frame of observations for each individual.
The following code usually works, but not always
----------------------------------------------------------------------
# Make a list of empty data frames
animals = list()
indivs = levels(Z$individual_id)
donotprint <- sapply(indivs, function(i){