Displaying 20 results from an estimated 4000 matches similar to: "plotting a table together with graphs"
2004 Jul 15
1
how to upload [forwarded]
[ This was posted to the R-packages list (which I moderate),
but definitely doesn't belong there. Martin Maechler
]
------- start of forwarded message -------
From: Federico Calboli <f.calboli at ucl.ac.uk>
To: r-packages at stat.math.ethz.ch
Subject: how to upload
Date: 15 Jul 2004 18:30:26 +0100
Dear All,
I just finished a add on lib called Malmig, to calculate Malecot
2004 May 21
2
Sum of Squares in a lme model
Dear All,
I would like to ask how to get the Sum of Squares from fitted lme model.
I appreciate that lme maximises the likelihood (or REML) and uses
likelihood ratio tests, but I just fail why I could not get the SS if I
want them. I could use lm to calculate them, but it looks quite
pointless to fit a second (and wrong in a way) model for something so
trivial.
I know that the issue has been
2004 Jan 20
4
matrix exponential: M^0
> -----Original Message-----
> From: Federico Calboli
> Sent: Tuesday, January 20, 2004 5:40 PM
> To: r-help
> Subject: [R] matrix exponential: M^0
>
> I would like to ask why the zeroeth power of a matrix gives me a matrix
> of ones rather than the identity matrix:
>
> > D<-rbind(c(0,0,0),c(0,0,0),c(0,0,0))
> > D<-as.matrix(D)
> > D
>
2004 May 18
1
1-way anova, nested model
Dear all,
We compared the gene expression level in two conditions: high (H) and low (L), using real-time PCR. We had 3 samples of each condition, and we quantified each sample twice (i.e. a technical replication).
Our data looks like:
H1 H1 H2 H2 H3 H3 L1 L1 L2 L2 L3 L3
We want to test if the level in H vs L is significantly different. I would like to use ANOVA and I guess a nested model with
2004 May 18
3
Debian & R
I use linux debian testing for which the latest debianized version of R
is 1.8.1. Therefore I installed:
r-base-core_1.8.1-0.cran.1_i386.deb
r-base-dev_1.8.1-0.cran.1_all.deb
r-base-html_1.8.1-0.cran.1_all.deb
r-base-latex_1.8.1-0.cran.1_all.deb
r-base_1.8.1-0.cran.1_all.deb
r-doc-html_1.8.1-0.cran.1_all.deb
r-doc-info_1.8.1-0.cran.1_all.deb
2004 Apr 07
1
problems loading package "nlme" in Debian Sid
Dear All,
I apologize if the following has been already asked, but I could not
find anything in the archives.
I am running Debian Sid (on an Athlon XP), with R 1.8.1.cvs.20040307-1
(it describes itself as "R 1.9.0 experimental" when I fire R up) and I
am unable to load the library "nlme" (I apt-getted r-recommended, so the
library is on the system)
>library(nlme)
Error in
2004 Feb 12
1
left eigenvector
Dear All,
how do I compute the left eigenvector of a matrix? I gather that "eigen"
computes the right eigenvectors...
Regards,
Federico Calboli
--
=================================
Federico C. F. Calboli
PLEASE NOTE NEW ADDRESS
Dipartimento di Biologia
Via Selmi 3
40126 Bologna
Italy
tel (+39) 051 209 4187
fax (+39) 051 251 208
f.calboli at ucl.ac.uk
2004 Feb 23
2
plot(my.procrustes.model) from library {vegan}
Dear All,
I would like to ask how to customize the graph corresponding to a
procrustes analysis.
I have to distance matrices, that I transform to two set of coordinates
by means of muti dimensional scaling:
library(mva)
c1<-cmdscale(mat.dist1)
c2<-cmdscale(mat.dist2)
I vant to rotate c2 on c1, and I use the "procrustes" analysis from the
{vegan} library.
library(vegan)
2004 Mar 12
3
R-business case
Dear all,
I am putting together a business case for R and I would like to know if
there exist statistics on the distribution of R in academia, research
and commercial institutions. The same information about S-plus would be
welcome. Please reply only if you have consistent and certain information.
Thank you very much, giovanni
2004 Feb 26
2
Multidimensional scaling and distance matrices
Dear All,
I am in the somewhat unfortunate position of having to reproduce the
results previously obtained from (non-metric?) MDS on a "kinship" matrix
using Statistica. A kinship matrix measures affinity between groups, and
has its maximum values on the diagonal.
Apparently, starting with a nxn kinship matrix, all it was needed to do
was to feed it to Statistica flagging that the
2003 Dec 02
1
question regarding variance components
I am using a two-factor ANOVA model with random factor effects including
the interaction, i.e. the factors are crossed. I would like to be able to
generate all four variance components along with approximate confidence
intervals using the NLME package. However, I do not know how to specify
the random option because of two problems. First, I do not know how to
enter the interaction term into the
2006 Sep 26
5
putting stuff into bins...
Hi All,
I have a vector of data, a vector of bin breakpoints and I want to put my data
in the bins and then extract fanciful informations like the mean value of each bin.
I know I can write my own function, but I would have thought that R should have
somewhere a function that took as arguments something like (data, breaks, what
to do with the data in the bins). I surey could not find it
2003 Dec 09
2
p-value from chisq.test working strangely on 1.8.1
Hello everybody,
I'm seeing some strange behavior on R 1.8.1 on Intel/Linux compiled
with gcc 3.2.2. The p-value calculated from the chisq.test function is
incorrect for some input values:
> chisq.test(matrix(c(0, 1, 1, 12555), 2, 2), simulate.p.value=TRUE)
Pearson's Chi-squared test with simulated p-value (based on 2000
replicates)
data: matrix(c(0, 1, 1,
2004 Aug 01
0
phylogenetic trees calculation
Dear all,
I would like to ask you the following:
I have data about different manuscripts, together with data about the
presence/absence of copying errors, in the days when manuscript were
really manuscripts. I would ideally like to use the data to draw a
phylogenetic tree, so that I can infer which ms was copied from which.
The error presence/absence is coded in binary format. The plan is to use
2006 Feb 28
4
subsetting a list of matrices
Hi All,
I have a list of matrices:
> x
[,1] [,2]
[1,] 1 4
[2,] 2 5
[3,] 3 6
> y
[,1] [,2] [,3] [,4] [,5] [,6]
[1,] 18 21 24 27 30 33
[2,] 19 22 25 28 31 34
[3,] 20 23 26 29 32 35
> z =list(x,y)
I want to create a second list that is has a subset each matrix in the
list subsetting so I get the 2nd and 3rd row of each (and
2005 Mar 08
5
removing message: [Previously saved workspace restored]
Dear All,
I saved by mistake the environment I was working in after typing q(),
and now I get the annoying message:
[Previously saved workspace restored]
I have already deleted all the objects in the environment, saving it as
an empty environment, so it's just a matter of nitpicking I suppose. The
message does not appear if I start R from any other place in the
directory tree.
I am
2005 Jun 20
3
vectorisation suggestion
Hi All,
I am counting the number of occurrences of the terms listed in one
vector in another vector.
My code runs:
for( i in 1:length(vector3)){
vector3[i] = sum(1*is.element(vector2, vector1[i]))
}
where
vector1 = vector containing the terms whose occurrences I want to count
vector2 = made up of a number of repetitions of all the elements of
vector1
vector3 = a vector of NAs that is
2007 Nov 26
4
writing summary() to a text file
Hi All,
I would like to output the results of a function into a text file,
legible as a such. The function produces a summary quite like:
summary(lm(x ~ y + w * z))
[for instance]
and I am not clear how to save this summary into a text file
'automagically', because I need to be able to do it in a for() loop.
Cheers,
Federico
--
Federico C. F. Calboli
Department of Epidemiology
2009 Nov 13
4
R, NIH and FDA
Dear All,
I will soon be working with NIH and possibly FDA. Will I be able to
use R or will I be forced to use SAS?
Cheers,
Federico
--
Federico C. F. Calboli
Department of Epidemiology and Public Health
Imperial College, St. Mary's Campus
Norfolk Place, London W2 1PG
Tel +44 (0)20 75941602 Fax +44 (0)20 75943193
f.calboli [.a.t] imperial.ac.uk
f.calboli [.a.t] gmail.com
2006 Mar 28
2
as.matrix and one row
Hi All,
I have the following problem:
x = c(1,2)
x
[1] 1 2
as.matrix(x)
[,1]
[1,] 1
[2,] 2
BUT, if I add:
y = c(3,4)
as.matrix(rbind(x,y))
[,1] [,2]
x 1 2
y 3 4
It does not transpose. Since I will need as.matrix() for a list of data
that is in one or more lines, I need as.matrix to behave in a consisten
fashions, so I get
as.matrix(x, whatever)
[,1] [,2]
x 1