See ?reshape
Uwe Ligges
Srinivas Iyyer wrote:
> Dear Group,
>
> I have a matrix (157 X 157 ) with correlation values.
> I want to convert the unique elements into a long list
> so that I can add an extra variable and plot them.
>
> Example:
>
> A B C D
>
> alfa 1 0.3 0.8
Dear Group,
I have a matrix (157 X 157 ) with correlation values.
I want to convert the unique elements into a long list
so that I can add an extra variable and plot them.
Example:
A B C D
alfa 1 0.3 0.8 -0.3
beta 0.2 1 -0.3 0.4
echo 0.9 -0.3 1 0.5
tang -0.5 0.5 0.
Have you received a reply to this post? I haven't seen one. I agree
that VarCorr(lmer(...)) is "unhandy" if I want to do further
computations with those numbers, which I often do. The following solves
that problem, at least for the example in the lmer VarCorr documentation:
fm2 <-
Omniscient r-help-subscriptors,
after consulting google quite extensively, this is my last resort: I am
in need of a watershed transform on large (sparse) 2D matrices and wonder if
someone out there has a readily implemented R version I could use - there
just is no point in reimplementing the whee
Murray Jorgensen wrote:
> I have not had a great amount of success installing/updating packages
> from the "Packages" menu of Rgui under Windows XL. (Except for
> installing from loacal zip files.)
>
> But I am not asking for help in using these facilities because I prefer
> to keep a folder of
Well, there's downTHEMall, a Mozilla Firefox extension
(https://addons.mozilla.org/extensions/).
Ted.
On 31/10/05 11:38, Murray Jorgensen wrote,:
> I have not had a great amount of success installing/updating packages
> from the "Packages" menu of Rgui under Windows XL. (Except for
> installin
On Mon, 2005-10-31 at 13:38 +1300, Murray Jorgensen wrote:
> I have not had a great amount of success installing/updating packages
> from the "Packages" menu of Rgui under Windows XL. (Except for
> installing from loacal zip files.)
>
> But I am not asking for help in using these facilities beca
On 30 October 2005 at 21:36, Uwe Ligges wrote:
| Dirk Eddelbuettel wrote:
| > > skewness(worldindex05r[,c(V2,V3)])
|
| Dirk, you forgot some quotes:
|
| skewness(worldindex05r[,c("V2","V3")])
Quite right. Thanks for catching that. Recurrent trouble with
non-reproducible examples...
La
I have not had a great amount of success installing/updating packages
from the "Packages" menu of Rgui under Windows XL. (Except for
installing from loacal zip files.)
But I am not asking for help in using these facilities because I prefer
to keep a folder of package zip files. On the other han
On Sun, 30 Oct 2005, Robert wrote:
> I found a very odd thing.
> A matrix multiplied by its inverse matrix should be an
> identity matrix.
> But why the following thing happens?
>
>> x%*%t(x)
> [,1] [,2] [,3] [,4] [,5]
> [1,] 108.16 58.24 32.24 66.56 225.68
> [2,] 58.24 31.36 17.
On Sun, 30 Oct 2005, Robert wrote:
> I found a very odd thing.
> A matrix multiplied by its inverse matrix should be an
> identity matrix.
Well, an invertible matrix multiplied by its inverse...
The matrix that you give (to two decimal places) is singular
> solve(a)
Error in solve.default(a) : s
I found a very odd thing.
A matrix multiplied by its inverse matrix should be an
identity matrix.
But why the following thing happens?
> x%*%t(x)
[,1] [,2] [,3] [,4] [,5]
[1,] 108.16 58.24 32.24 66.56 225.68
[2,] 58.24 31.36 17.36 35.84 121.52
[3,] 32.24 17.36 9.61 19.84 67
Dear List,
I am new to R. I would like to compute the permutational exact p-value for the
Kolmogorov-Smirnov test for paired data. Is there a routine that is available to
do this? Thanks.
John
--
__
R-help@stat.math.ethz.ch mailing list
https://stat.e
Dirk Eddelbuettel wrote:
> Thomas,
>
> On 30 October 2005 at 17:05, Thomas Herbst wrote:
> | Sehr geehrtes R-TEAM!
>
> The list operates in English as a casual look at the archives would have told
> you.
>
> | Wie Sie sehen, besteht die Variable "worldindex05r" aus 3 Spalten "V1, V2,
> | V3". Re
Hi,
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Martin Lam
>
> I was wondering, if it is possible to print out the
> values of variables while you are in a for/while loop?
> Like this for example:
>
> for (i in 1:5) {
> i
> }
>
yes, sho
Thomas,
On 30 October 2005 at 17:05, Thomas Herbst wrote:
| Sehr geehrtes R-TEAM!
The list operates in English as a casual look at the archives would have told
you.
| Wie Sie sehen, besteht die Variable "worldindex05r" aus 3 Spalten "V1, V2,
| V3". Rechnen kann R aber nur mit den numerischen We
Is there a specific issue with connections using the RODBC package?
I am able to use the same DSN/ODBC configuration to connect to the
database using Microsoft Excel's MS Query tool, and using other
drivers from other OSes (Windows).
Do I have to reference the driver directly in the odbcDri
Sehr geehrtes R-TEAM!
Ich habe drei Probleme, die aus Ihrer Sicht wahrscheinlich nur "banaler" Art
sind:
> skewness(worldindex05r)
V1 V2 V3
NA 0.08269108 -0.55517232
Warning message:
argument is not numeric or logical: returning NA in: skewness.default(X[[1
Hi,
I would like to compare several Generalized Linear Models on the basis of BIC.
My models have a binary response variable and are fitted with the glm function.
AIC works well, not so BIC
I tried:
testBIC<-glm(y~x1+x2+x3,binomial)
> BIC(testBIC)
Error in log(x) : Non-numeric argument to math
Hi Everyone,
I posted a similar question about a week ago, but haven't gotten any
replies -- I'm afraid that's because my previous question was too
vague. Let me try again with a more specific question, and I hope
someone can help. NOTE, I know I should be using the newer lme4
package, I ju
Try `Writing R Extensions' (as referred to on the help page for SHLIB
...).
On Sun, 30 Oct 2005, Walton A. Green wrote:
>
> Duncan,
>
> Many thanks: R CMD SHLIB is proably what I was looking fordo you know
> where the most extensive documentation for that is located? I looked at
> the man pa
Duncan,
Many thanks: R CMD SHLIB is proably what I was looking fordo you know
where the most extensive documentation for that is located? I looked at
the man page for R and R CMD SHLIP --help, but there wasn't much detail on
how it works. Does it (or can it be configured to) run a makefile
Dear Deepayan,
The application in which I encountered the problem is much more complicated,
so I'm not sure whether using groups will work there, but I'll give it a
try.
Thanks for this,
John
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Deepa
Hello,
I have recently started to use moodle (a course management system) for
my classes. It has turn out to be a very interesting tool. I woke up
this morning wondering about the possibility of adding a module so that
the students could use R without needing to install it, just using a
server
hello
i am a new user of R
I wonna run a double exponential function with nonlinear quantile regresion
model
the double exponential function is
Y=(
ab1978*ab1979*ab1980*ab1981*ab1982*ab1983*ab1984*ab1985*ab1986*ab1987*ab1988*ab1989*
ab1990* ab1991*ab1992*ab1993*ab1994*
6670*ab7175*ab7680*ab
for (i in 1:5) {print(i)}
Cheers
Iain
--- Martin Lam <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I was wondering, if it is possible to print out the
> values of variables while you are in a for/while
> loop?
> Like this for example:
>
> for (i in 1:5) {
> i
> }
>
> So what I want is this as ou
On Sat, 29 Oct 2005, Michael Greene wrote:
>
> Hello,
>
> I'm using R 2.2.0 on a Mac and attempting to use the RODBC package to
> connect to a PostgreSQL server on the local network. I can't tell
> whether my problem is in R, or in ODBC setup.
These are ODBC error reports, so the problem is in O
27 matches
Mail list logo