[R] R moodle module

2005-10-30 Thread Manuel Castejón Limas
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

Re: [R] Problem with llines in lattice

2005-10-30 Thread John Fox
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

Re: [R] dyn.load() error: bad external relocation length

2005-10-30 Thread Walton A. Green
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

[R] Help with Subtracting an effect from a Mixed Model

2005-10-30 Thread Matthew Forister
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

[R] Problems with BIC (Bayesian Information Criterion)

2005-10-30 Thread Christian Jones
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

[R] Hilfeanfrage

2005-10-30 Thread Thomas Herbst
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:

Re: [R] Hilfeanfrage

2005-10-30 Thread Dirk Eddelbuettel
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

Re: [R] How to print output during for loops?

2005-10-30 Thread Rau, Roland
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, should be

Re: [R] Hilfeanfrage

2005-10-30 Thread Uwe Ligges
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. Rechnen kann R

[R] Permutational ks p-value for paired data

2005-10-30 Thread Chen, John W.,M.D.
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

[R] identity matrix

2005-10-30 Thread Robert
I found a very odd thing. A matrix multiplied by its inverse matrix should be an identity matrix. But why the following thing happens? a%*%solve(a) is not an identity matrix 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

Re: [R] identity matrix

2005-10-30 Thread Thomas Lumley
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) :

Re: [R] identity matrix

2005-10-30 Thread David Scott
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? a%*%solve(a) is not an identity matrix x%*%t(x) [,1] [,2] [,3] [,4] [,5] [1,] 108.16 58.24 32.24 66.56

[R] Downloading zip files

2005-10-30 Thread Murray Jorgensen
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 hand

Re: [R] Hilfeanfrage

2005-10-30 Thread Dirk Eddelbuettel
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... Later,

Re: [R] Downloading zip files

2005-10-30 Thread Marc Schwartz
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 because I

Re: [R] Downloading zip files

2005-10-30 Thread ecatchpole
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 installing

Re: [R] Downloading zip files

2005-10-30 Thread Duncan Murdoch
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

[R] watershed transform

2005-10-30 Thread Marc Kirchner
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

Re: [R] lmer / variance-covariance matrix random effects

2005-10-30 Thread Spencer Graves
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 -

[R] Matrix operations please help

2005-10-30 Thread Srinivas Iyyer
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

Re: [R] Matrix operations please help

2005-10-30 Thread Uwe Ligges
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 -0.3