Re: [R] Dotmatrix Plots

2006-11-16 Thread Marwan Khawaja
Well, I would not call R packages 'MS executables'!
But Jim is critical of some R conventions -- see his notes on the webpage
http://popgen.unimaas.nl/~jlindsey/rcode.html

Bestest Marwan

--
Marwan Khawaja   http://staff.aub.edu.lb/~mk36
-- 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Prof 
 Brian Ripley
 Sent: Thursday, November 16, 2006 11:53 AM
 To: Marwan Khawaja
 Cc: 'r-help'; 'Peter Dalgaard'
 Subject: Re: [R] Dotmatrix Plots
 
 The details and address for package 'dna' *are* in the R FAQ 
 section 5.1.
 
 For some reason he calls 'MS executables' the non-executable 
 binary packages for Windows users of R.
 
 On Thu, 16 Nov 2006, Marwan Khawaja wrote:
 
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
 Peter Dalgaard
  Sent: Wednesday, November 15, 2006 5:58 PM
  To: Jeffrey Robert Spies
  Cc: r-help
  Subject: Re: [R] Dotmatrix Plots
 
  Jeffrey Robert Spies [EMAIL PROTECTED] writes:
 
  Hi all,
 
  Does anyone know what happened to the dna library or the 
 dotmatrix 
  function?  For the life of me, I can't find it anywhere with the 
  exception of this reference:
 
  http://rss.acs.unt.edu/Rdoc/library/dna/html/dotmatrix.html
 
  Thanks!
 
  Jeff.
  http://www.nd.edu/~jspies/
 
  For some reason, Jim prefers to play hide and seek with 
 his packages 
  (which for some reason he insists on calling libraries...). The 
  current whereabouts seem to be
 
  http://popgen.unimaas.nl/~jlindsey/rcode.html
 
 
  Well, I think he is enjoying his retirement. His packages 
 seem to work 
  fine
  (updated) using R 2.4.0.
 
  Marwan
 
  --
  Marwan Khawaja   http://staff.aub.edu.lb/~mk36
  --
 
 
  --
 O__   Peter Dalgaard Øster Farimagsgade 
 5, Entr.B
c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
   (*) \(*) -- University of Copenhagen   Denmark  Ph:
  (+45) 35327918
  ~~ - ([EMAIL PROTECTED])  FAX:
  (+45) 35327907
 
  __
  R-help@stat.math.ethz.ch mailing list 
  https://stat.ethz.ch/mailman/listinfo/r-help
  PLEASE do read the posting guide
  http://www.R-project.org/posting-guide.html
  and provide commented, minimal, self-contained, reproducible code.
 
 
  __
  R-help@stat.math.ethz.ch mailing list
  https://stat.ethz.ch/mailman/listinfo/r-help
  PLEASE do read the posting guide 
  http://www.R-project.org/posting-guide.html
  and provide commented, minimal, self-contained, reproducible code.
 
 
 -- 
 Brian D. Ripley,  [EMAIL PROTECTED]
 Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
 University of Oxford, Tel:  +44 1865 272861 (self)
 1 South Parks Road, +44 1865 272866 (PA)
 Oxford OX1 3TG, UKFax:  +44 1865 272595


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Dotmatrix Plots

2006-11-15 Thread Marwan Khawaja

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Peter Dalgaard
 Sent: Wednesday, November 15, 2006 5:58 PM
 To: Jeffrey Robert Spies
 Cc: r-help
 Subject: Re: [R] Dotmatrix Plots
 
 Jeffrey Robert Spies [EMAIL PROTECTED] writes:
 
  Hi all,
  
  Does anyone know what happened to the dna library or the dotmatrix 
  function?  For the life of me, I can't find it anywhere with the 
  exception of this reference:
  
  http://rss.acs.unt.edu/Rdoc/library/dna/html/dotmatrix.html
  
  Thanks!
  
  Jeff.
  http://www.nd.edu/~jspies/
 
 For some reason, Jim prefers to play hide and seek with his 
 packages (which for some reason he insists on calling 
 libraries...). The current whereabouts seem to be  
 
 http://popgen.unimaas.nl/~jlindsey/rcode.html
 

Well, I think he is enjoying his retirement. His packages seem to work fine
(updated) using R 2.4.0.

Marwan

--
Marwan Khawaja   http://staff.aub.edu.lb/~mk36
-- 

 
 -- 
O__   Peter Dalgaard Øster Farimagsgade 5, Entr.B
   c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K
  (*) \(*) -- University of Copenhagen   Denmark  Ph:  
 (+45) 35327918
 ~~ - ([EMAIL PROTECTED])  FAX: 
 (+45) 35327907
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide 
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Correspondence Analysis

2006-11-14 Thread Marwan Khawaja
Dear Kris,
I am not sure what you mean by a 'standard' -- but you may want to check out
the ade4 package. 

Best Marwan

--
Marwan Khawaja   http://staff.aub.edu.lb/~mk36
-- 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Kris Lockyear
 Sent: Tuesday, November 14, 2006 5:03 AM
 To: r-help@stat.math.ethz.ch
 Subject: [R] Correspondence Analysis
 
 Dear All,
 
 I am in the process of teaching myself R and am getting the 
 hang of it slowly, and so apologies for what may be a novice 
 question. (Many thanks to those who have helped me so far).
 
 I have been performing normal Correspondence Analysis for a 
 number of years using a variety of packages. CA is available 
 in a number of R packages (e.g. vegan).
 
 Could anyone advise me which one(s) would provide me with the 
 standard 
 Greenacre diagnostic statistics (ie. quality, mass, 
 contribution etc as discussed in Correspondence Analysis in 
 Practice, esp. chapter 11) and how I get hold of them?
 
 Many thanks in advance, Kris Lockyear.
 
 _
 Be the first to hear what's new at MSN - sign up to our free 
 newsletters!
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide 
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Making a case for using R in Academia

2006-11-10 Thread Marwan Khawaja
More impressions --

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Charilaos Skiadas
 Sent: Thursday, November 09, 2006 11:45 PM
 To: r-help@stat.math.ethz.ch
 Subject: Re: [R] Making a case for using R in Academia
 
 John (and everyone else),
 
 On Nov 9, 2006, at 4:20 PM, John Fox wrote:
 
  Dear Charilaos,
 
  It's very difficult to give definitive answers to the 
 questions that 
  you pose because we don't have any good data (at least as far as I
  know) about
  how widely R is used.
 
 Yes it certainly isn't an easy question to answer, and I 
 don't necessarily need complete data. The situation as 
 presented to me by my colleagues in the Social Sciences is 
 really that SPSS is the standard, so I am basically hoping 
 for evidence to just shake this view (unless it is true, but 
 I have to say I doubt it). I am more hoping for particular 
 examples of cases in the Social Sciences, where SPSS is far 
 from the standard, and the programs and schools you mention 
 below are exactly the sort of thing I was looking for!

I think it is not the standard -- often unheard of -- by the social science
community in large research universities in the States where SAS dominates
(unless you are in the Chicago area). So I agree with John. 
It is perhaps more popular among social scientists in Europe. 

 
 For now unfortunately we will be sticking with SPSS, despite 
 the considerable cost (which was mainly our problem at the 
 moment, so SAS is not even being considered for that reason), 
 but I am hoping to slowly build enough evidence of the 
 extensive use of R for when all this comes up again. Even 
 just a list of the universities and departments that use it 
 would be very helpful, so any of you who would like to send 
 such information about your departments or other departments 
 you might know about, off the list, it would be extremely 
 helpful to me.
 
 Perhaps it would be useful for such a list to exist somewhere 
 online?  (I guess you could say google, but I find it hard 
 to use google to look up such information on R, for the 
 obvious reason of the shortness of the name.
 
  [snip]
 
  Among social scientists the picture is not as clear. My 
 impression is 
  that SPSS is used very widely for low-levels methods 
 courses taught to 
  undergraduates, and not very extensively in the best social-science 
  graduate programmes. I would expect that, at present, Stata use in 
  social- science graduate programmes exceeds R, and that SAS and R 
  would also be used fairly widely. In my opinion, these are the only 
  reasonable choices -- I don't think that SPSS is 
 sufficiently capable 
  to compete with R, Stata, or SAS.
  There are, for example, several different packages used at 
 the ICPSR 
  Summer Program in Quantitative Methods for Social Research, but 
  several relatively advanced courses now use R. Likewise, the Oxford 
  Spring School, hosted by the Department of Politics and 
 International 
  Relations at Oxford, has mostly employed R and Stata.
 
 Thanks, I will be looking into those. I basically just need 
 to look at various universities and their social sciences 
 departments, and see what they use there. As other suggested, 
 I will be looking into the number of books and papers in R 
 and how it is increasing every year.
 
 Once again thank you all for your comments, this has been a 
 very helpful discussion for me, and it's a great pleasure to 
 find such a helpful and friendly mailing list.
 
  Of course, my own preference is for R.
 
  Regards,
   John
 
 Haris
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide 
 http://www.R-project.org/posting-guide.html
 and provide commented, minimal, self-contained, reproducible code.
 
--
Marwan Khawaja, Ph.D.
Professor  Director
Center for Research on Population  Health
American University of Beirut
P.O. Box 11-0236, Riad El Solh
Beirut 1107 2020 Lebanon

Email: [EMAIL PROTECTED]
Url: http://staff.aub.edu.lb/~mk36/
Tel: +961 1 35 00 00 ext. 4668
Fax: +961 1 74 44 70

__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Logistic Regression - Results?

2006-05-25 Thread Marwan Khawaja
Are you sure you are using the same contrasts in SPSS? You could have
supplied us with your spss syntax.

Marwan

--
Marwan Khawaja   http://staff.aub.edu.lb/~mk36
-- 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Wojciech Gryc
 Sent: Thursday, May 25, 2006 12:41 AM
 To: r-help@stat.math.ethz.ch
 Subject: [R] Logistic Regression - Results?
 
 Hi,
 
 I use SPSS at work and have R installed both at work and on 
 my home machine.
 I've been trying to do some logistic regressions in R and 
 SPSS, but the results I'm getting are different. I've 
 followed a few R tutorials, and with most of them, I get the 
 following instructions:
 
 result - glm(z ~ x + y, family=binomial(logit))
 
 In the case above, with three variables (z being dependent).
 
 In SPSS, I'm told to use Analyze - Regression - Binary 
 Logistic, where I put x, y in Covariates and z in 
 Dependent. Note that my values for x and y are either 1 or 0.
 
 The results I get from these two tests are different, 
 however, and I was wondering why. Am I choosing the wrong 
 commands? If not, why are the results different? Any help 
 would be greatly appreciated, and please note that I have a 
 limited amount of stats knowledge.
 
 Thanks,
 Wojciech
 
 -- 
 
 Five Minutes to Midnight:
 Youth on human rights and current affairs 
 http://www.fiveminutestomidnight.org/
 
   [[alternative HTML version deleted]]
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! 
 http://www.R-project.org/posting-guide.html


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


Re: [R] A comment about R:

2006-01-04 Thread Marwan Khawaja
Dear Bob,
The reasons you mentioned are supposedly good features in R -- not giving
lots of output you do not necessarily need. I guess the question is why do
you want R to produce what you get from SPSS?  SPSS is hardly a gold
standard in statistical software.  
But I agree that it is quite difficult for users of SPSS to unlearn SPSS (or
SAS) while using R. 

Best Marwan

--
Marwan Khawaja   http://staff.aub.edu.lb/~mk36
-- 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Bob Green
 Sent: Wednesday, January 04, 2006 3:37 AM
 To: r-help@stat.math.ethz.ch
 Subject: Re: [R] A comment about R:
 
 
 Hello,
 
 
 Unlike most posts on the R mailing list I feel qualified to 
 comment on 
 this one.  For about 3 months I have been trying to learn 
 use R,  after 
 having  used various versions of SPSS for about  10 years.
 
 
 I think it is far too simplistic to ascribe non-use of R to 
 laziness.  This may well be the case for some, however, I 
 have read 5-6 books on R, waded through on-line resources,  
 read the documentation and asked multiple questions via 
 e-mails - and still find even some of the basics very difficult.
 
 There are several reasons for this:
 
 1. For some tasks R is extremely user-unfriendly.  Some 
 comparative examples:
 
 (a) In running a chi-square analysis in SPSS the following 
 syntax is included
 
 /STATISTIC=CHISQ
/CELLS= COUNT EXPECTED ROW COLUMN TOTAL RESID .
 
 this produces expected and observed counts, row  column 
 percentages, residuals, chi-square  Fisher's exact  test + 
 other output.
 
 In R, it is a herculean task to produce similar output . It 
 certainly, can't be produced in 2 lines as far as I can tell.
 
 (b)  in SPSS if I want to compare multiple variables by a 
 single dependent variable this is readily performed
 
 CROSSTABS
/TABLES=baserdis  baserenh  basersoc baseradd socbest 
 disbest entbest addbest worsdis worsphy by group
 
 I used the chi-square example again, but the same applies for 
 a t-test. I started looking into how  to do something similar 
 in R, with the t-test command but gave up. R does force the 
 user to take a more considered approach to analysis.
 
 (c) To obtain a correlation matrix in R with the correlation 
  p-value is no simple task -
 
 In SPSS this is obtained via:
 
 GET
FILE='D:\a study\data\dat\key data\master data.sav'.
 NONPAR CORR
/VARIABLES= goodnum badnum good5 bad5 avfreq avdayamt
/PRINT=KENDALL TWOTAIL
/MISSING=PAIRWISE .
 
 In R something like this is required -
 
   by(mydat, mydat$group, function(x) {
 + nm - names(x)
 + rho - matrix(, 6, 2)
 + rho.nm - matrix(, 6, 2)
 + k - 1
 + for(i in 2:4) {
 + for(j in (i + 1):5) {
 + x.i - x[, i]
 + x.j - x[, j]
 + ct - cor.test(x.i, x.j, method=c(kendall) , alternative 
 + =c(two-sided)) rho[k, 1] - ct$estimate rho[k, 2] - 
 + round(ct$p-value, 3) rho.nm[k, ] - c(nm[i], nm[j]) k - k 
 + 1 } } rho 
 + - cbind(as.data.frame(rho.nm), as.data.frame(rho))
 + names(rho) - c(freq.i, freq.j, cor, p-value) rho
 + })
 
 2) It is not always clear what the output produced by R, is. 
 The Mann-Whitney U-test is a good example. In R, it seems a 
 standardised value is obtained. I was advised that it is easy 
 enough to check this as R is open-source, but at least for 
 me, I don't believe I would understand this code anyway. It 
 is confusing when comparative programs such as R and SPSS 
 produce dis-similar results. For the user it is important to 
 be able to fairly easily reconcile such differences, to 
 engender confidence in results.
 
 3) I find the help files in R quite difficult to understand.  
 For example, see help(t.test).  It is almost assumed by the 
 examples that you know what to do. Personally, I would find 
 some form of simple decision tree easier -e.g. If you want to 
 perform a t-test with the dependent variable in one column 
 and the dependent use in another use t.test(AVFREQ~GROUP) . 
 If you want to perform a t-test with the dependent variable 
 in separate columns (each column representing a different 
 group) use - t.test(AVFREQ1, AVFREQ2) .
 
 4) My initial approach to using R, was to run commands I had 
 used commonly in SPSS and compare the results. I have only 
 got as far  as basic ANOVA. 
 This has been time-consuming and at times it has been 
 difficult to obtain advice. Some people on the R list have 
 been extremely generous with their time and knowledge, and I 
 have much appreciated this assistance. At other times I see 
 responses met  with something like arrogance. With the 
 sophistication of R, there is also an elitism.  This is a 
 barrier to R being more widely accepted and used.
 
 5) differences in terminology - this is just part of the 
 learning process, but I still found it took quite some time 
 to work out simple commands and what different analyses were called.
 
 6) system

RE: [R] analyse des correspondances multiples

2005-04-07 Thread Marwan Khawaja
Also,
library(ade4) 

Best Marwan
 
---
Marwan Khawaja http://staff.aub.edu.lb/~mk36/
---


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Prof 
 Brian Ripley
 Sent: Thursday, April 07, 2005 3:45 PM
 To: Faouzi LYAZRHI
 Cc: R-help@stat.math.ethz.ch
 Subject: Re: [R] analyse des correspondances multiples
 
 library(MASS)
 ?mca
 
 On Thu, 7 Apr 2005, Faouzi LYAZRHI wrote:
 
  Je voudrais faire une analyse des correspondances multiples avec R. 
  avec les représentation graphiques correspondantes  avec R.
  je ne sais pas comment procéder ..
  en vour remerciant par avance
 
 -- 
 Brian D. Ripley,  [EMAIL PROTECTED]
 Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
 University of Oxford, Tel:  +44 1865 272861 (self)
 1 South Parks Road, +44 1865 272866 (PA)
 Oxford OX1 3TG, UKFax:  +44 1865 272595


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


RE: [R] 3d bar plot

2005-01-17 Thread Marwan Khawaja
You can check these packages,
?scatterplot3d
?scatter3d

Best Marwan 

 
---
Marwan Khawaja http://staff.aub.edu.lb/~mk36/
---

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of R user
 Sent: Monday, January 17, 2005 12:37 PM
 To: r-help@stat.math.ethz.ch
 Subject: [R] 3d bar plot
 
 This graph - 
 http://www.math.hope.edu/~tanis/dallas/images/disth36.gif
 is an example I found at
 http://www.math.hope.edu/~tanis/dallas/disth1.html
 created by Maple.
 
 Does anybody know how to create something similar in R?
 
 I have a feeling it could be possible using scatterplot3d 
 (perhaps with type=h, the fourth example in 
 help('scatterplot3d')?), but I cannot figure it out.
 
 Thanks in advance,
 Jonne.
 
 __
 R-help@stat.math.ethz.ch mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! 
 http://www.R-project.org/posting-guide.html


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


RE: [R] 3d bar plot

2005-01-17 Thread Marwan Khawaja
Dear John,
Yes, I meant the scatter3d function in the Rcmdr package -- I will 'behave' next
time :-)
Jonne asked for 'something similar in R' -- hence the suggestion to also use the
package scatterplot3d.

Best Marwan

 
---
Marwan Khawaja http://staff.aub.edu.lb/~mk36/
---

 -Original Message-
 From: John Fox [mailto:[EMAIL PROTECTED] 
 Sent: Monday, January 17, 2005 3:49 PM
 To: 'Marwan Khawaja'; 'R user'
 Cc: r-help@stat.math.ethz.ch
 Subject: RE: [R] 3d bar plot
 
 Dear Marwan and Jonne,
 
 I don't think that there's a scatter3d package, so perhaps 
 Marwan is referring to the scatter3d() function in the Rcmdr 
 package. If so, that function won't make the kind of 3D graph 
 that Jonne wants -- though the rgl package, on which 
 scatter3d() is based, should be able to create the graph. 
 
 I don't believe that the scatterplot3d() function in the 
 scatterplot3d package can make the plot either, but I may be wrong.
 
 I hope this helps.
 
 John
 
 
 John Fox
 Department of Sociology
 McMaster University
 Hamilton, Ontario
 Canada L8S 4M4
 905-525-9140x23604
 http://socserv.mcmaster.ca/jfox
  
 
  -Original Message-
  From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED] On Behalf Of 
 Marwan Khawaja
  Sent: Sunday, January 16, 2005 7:04 PM
  To: 'R user'; r-help@stat.math.ethz.ch
  Subject: RE: [R] 3d bar plot
  
  You can check these packages,
  ?scatterplot3d
  ?scatter3d
  
  Best Marwan
  
   
  ---
  Marwan Khawaja http://staff.aub.edu.lb/~mk36/
  ---
  
   -Original Message-
   From: [EMAIL PROTECTED] 
   [mailto:[EMAIL PROTECTED] On Behalf Of R user
   Sent: Monday, January 17, 2005 12:37 PM
   To: r-help@stat.math.ethz.ch
   Subject: [R] 3d bar plot
   
   This graph -
   http://www.math.hope.edu/~tanis/dallas/images/disth36.gif
   is an example I found at
   http://www.math.hope.edu/~tanis/dallas/disth1.html
   created by Maple.
   
   Does anybody know how to create something similar in R?
   
   I have a feeling it could be possible using scatterplot3d 
 (perhaps 
   with type=h, the fourth example in help('scatterplot3d')?), but I 
   cannot figure it out.
   
   Thanks in advance,
   Jonne.
   
   __
   R-help@stat.math.ethz.ch mailing list 
   https://stat.ethz.ch/mailman/listinfo/r-help
   PLEASE do read the posting guide! 
   http://www.R-project.org/posting-guide.html
  
  
  __
  R-help@stat.math.ethz.ch mailing list
  https://stat.ethz.ch/mailman/listinfo/r-help
  PLEASE do read the posting guide! 
  http://www.R-project.org/posting-guide.html
 


__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] Search enginge

2004-11-23 Thread Marwan Khawaja
Hello,
The search engine in Netscape 7.1 does not seem to work for me -- it used to
work fine before.  I do get the html help page but nothing happens when I enter
a keyword for search. 
Java plug in and it is enabled -- so this is not the problem. 
Any help would be appreciated.
Thanks Marwan

 version

 platform i386-pc-mingw32
arch i386   
os   mingw32
system   i386, mingw32  
status  
major2  
minor0.1
year 2004   
month11 
day  15 
language R

---
Marwan Khawaja http://staff.aub.edu.lb/~mk36/

__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


RE: [R] Search enginge

2004-11-23 Thread Marwan Khawaja
Hi 
The problem was with my Netscape 7.1.
Many thanks to Prof Ripley for pointing me to the right direction.

Best Marwan
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Prof 
 Brian Ripley
 Sent: Tuesday, November 23, 2004 1:36 PM
 To: Marwan Khawaja
 Cc: R
 Subject: Re: [R] Search enginge
 
 On Tue, 23 Nov 2004, Marwan Khawaja wrote:
 
  The search engine in Netscape 7.1 does not seem to work for 
 me -- it 
  used to work fine before.
 
 Perhaps you need to undo what you changed, but we can't guess 
 what that is.
 
  I do get the html help page but nothing happens when I 
 enter a keyword 
  for search.
  Java plug in and it is enabled -- so this is not the problem.
 
  Any help would be appreciated.
 
 That page contains a link to the description in the R-admin manual.
 In particular, do you have the current Java jre 1.5.0?
 
 We did test Netscape 7.2 (7.1 is obselete) under Windows with 
 R 2.0.1-to-be.
 
 -- 
 Brian D. Ripley,  [EMAIL PROTECTED]
 Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
 University of Oxford, Tel:  +44 1865 272861 (self)
 1 South Parks Road, +44 1865 272866 (PA)
 Oxford OX1 3TG, UKFax:  +44 1865 272595
 
 __
 [EMAIL PROTECTED] mailing list
 https://stat.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! 
 http://www.R-project.org/posting-guide.html


__
[EMAIL PROTECTED] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


RE: [R] ordered probit or logit / recursive regression

2004-06-14 Thread Marwan Khawaja

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Ajay Shah
 Sent: Sunday, June 13, 2004 2:25 AM
 To: Prof Brian Ripley
 Cc: VUILLEUMIER Mathieu; [EMAIL PROTECTED]
 Subject: Re: [R] ordered probit or logit / recursive regression


 I was trying to be funny and say that R is so cool; you don't have a
 vanilla ordered probit, but you have markov chain monte carlo
 inference for an ordered probit. Now _that_ is very fancy (atleast,
 in my book). I've lusted after markov chain monte carlo many times,
 but never quite done it. Is there a child's guide to MCMC on the net
 that I can consume?


Check out Gillian Raab's notes (http://www.maths.napier.ac.uk/staff/graab.htm).
The WinBugs wibsite http://www.mrc-bsu.cam.ac.uk/bugs might also be useful --
examples, manuals and source materials.

Best, Marwan

---
Marwan Khawaja http://staff.aub.edu.lb/~mk36/
---



   (I will be very happy if someone will show how to use glm()
to do a vanilla probit!)
  
  Quoth Thomas Lumley:
   glm(y~x+z, family=binomial(probit))
   Be happy,
  Be even happier that ordered probit also is available.

 :-) Thanks! (I haven't seen popr yet).

 --
 Ajay Shah   Consultant
 [EMAIL PROTECTED]  Department of Economic Affairs
 http://www.mayin.org/ajayshah   Ministry of Finance, New Delhi

 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


RE: [R] confidence-intervals in barchart

2004-02-10 Thread Marwan Khawaja
Try 'parplot2' -- 'gregmisc' package.
Marwan


---
Marwan Khawaja http://staff.aub.edu.lb/~mk36/
---


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of
 [EMAIL PROTECTED]
 Sent: Tuesday, February 10, 2004 4:01 AM
 To: [EMAIL PROTECTED]
 Subject: [R] confidence-intervals in barchart


 Hi R users,

 1)  How does one show confidence-intervals in a barchart and use rownames for
 labels on the y-axes?  I have looked at plotCI in gregmisc package . But
 it does not seem to produce something like a barchart.  The statistic, error,
 upper-bound, and lower-bound are in a dataframe.

 2) How to show CI in a barchart either using the statistic and, either (a)
 errors or (b) upper and lower bounds from a dataframe?

 An example will be very helpful.

   [[alternative HTML version deleted]]

 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help
 PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] plot

2004-01-16 Thread Marwan Khawaja
Dear All,
I'd like to 'highlight' say change font size/color 'some' point in a graph.  I
can do this with 'points',

plot(x)
points(x[1], col=red)

Is there a more 'straightforward' way (e.g., option in plot) to do this?
Thanks Marwan


---
Marwan Khawaja http://departments.aub.edu.lb/~mk36

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


[R] email problem

2004-01-14 Thread Marwan Khawaja
Hello
Is anyone else having problems receiving email from the list?  No email from R
help today!
Thanks Marwan


---
Marwan Khawaja http://departments.aub.edu.lb/~mk36

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


RE: [R] ade4

2004-01-04 Thread Marwan Khawaja
Dear Stephane,
Yes, it worked fine -- a nice plot -- many thanks for your help.
Marwan



---
Marwan Khawaja http://departments.aub.edu.lb/~mk36
---


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Stephane DRAY
 Sent: Friday, January 02, 2004 10:53 AM
 To: Marwan Khawaja; R
 Subject: Re: [R] ade4


 You can try:

 s.label(banque.acm$li)

 s.arrow(banque.acm$c1)



 At 17:28 01/01/2004, Marwan Khawaja wrote:
 Dear All,
 I am using the scatter.dudi finction in the 'ade4' package to produce
 correspondence analysis (nice) plots.
 I do not seem to figure out how to plot the raw coordinates only -- or column
 coordinates only.  I would appreciate any help in doing that.
 Here is the example I am following -- from the package.
 
 data(banque)
banque.acm - dudi.acm(banque, scann = FALSE, nf = 3)
scatter.dudi(banque.acm)
 
 Using,
 platform i386-pc-mingw32
 arch i386
 os   mingw32
 system   i386, mingw32
 status
 major1
 minor8.1
 year 2003
 month11
 day  21
 language R
 
 TIA, Marwan
 
 ---
 Marwan Khawaja http://departments.aub.edu.lb/~mk36
 
 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help

 Stéphane DRAY
 --
 

 Département des Sciences Biologiques
 Université de Montréal, C.P. 6128, succursale centre-ville
 Montréal, Québec H3C 3J7, Canada

 Tel : 514 343 6111 poste 1233
 E-mail : [EMAIL PROTECTED]
 --
 

 Web  http://www.steph280.freesurf.fr/

 __
 [EMAIL PROTECTED] mailing list
 https://www.stat.math.ethz.ch/mailman/listinfo/r-help


__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


[R] ade4

2004-01-02 Thread Marwan Khawaja
Dear All,
I am using the scatter.dudi finction in the 'ade4' package to produce
correspondence analysis (nice) plots.
I do not seem to figure out how to plot the raw coordinates only -- or column
coordinates only.  I would appreciate any help in doing that.
Here is the example I am following -- from the package.

data(banque)
  banque.acm - dudi.acm(banque, scann = FALSE, nf = 3)
  scatter.dudi(banque.acm)

Using,
platform i386-pc-mingw32
arch i386
os   mingw32
system   i386, mingw32
status
major1
minor8.1
year 2003
month11
day  21
language R

TIA, Marwan

---
Marwan Khawaja http://departments.aub.edu.lb/~mk36

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


[R] mca

2003-12-24 Thread Marwan Khawaja
Dear All,
I want to 'impose' supplementary points to an mca plot -- using VR MASS
library -- and I wonder if anyone had any luck.  The book (4th edition) says it
can be done using predict.mca but there are no examples provided in the help
pages.
Would appreciate any help/pointers.
Thanks Marwan

btw, to Professor Ripley -- the abbrev=TRUE option for labels does not seem to
work.



R.Version

platform i386-pc-mingw32
arch i386
os   mingw32
system   i386, mingw32
status
major1
minor8.1
year 2003
month11
day  21
language R


---
Marwan Khawaja http://departments.aub.edu.lb/~mk36

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


RE: [R] Path analysis

2003-06-19 Thread Marwan Khawaja
Check out the 'sem' package by John Fox.
Marwan

===
Marwan Khawaja  [EMAIL PROTECTED]
Associate Professor  Director  
http://webfaculty.aub.edu.lb/~mk36
Center for Research on Population  Health
Faculty of Health Sciences  Tel:  +961 1 35 00 00 ext. 
4668 (O)
American University of Beirut  +961 1 35 00 00 ext. 
4640 (O))
P.O.Box 11--0236, Riad El-Solh +961 1 35 00 00 ext. 
2821 (H)
Beirut 1107 2020, Lebanon   Fax: +961 1 74 44 70


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Regis Martin
Sent: Wednesday, June 18, 2003 11:32 PM
To: [EMAIL PROTECTED]
Subject: [R] Path analysis



Dear all,

I'm new R's user and I'm looking for package dealling with Path analysis. Does
it exist ? Where ?

Best,



Regis Martin PhD Student
Laboratory of Altitutdinal Population Biology UMR CNRS 5553
Universté de Savoie
Bât. Belledonnes
00 33 (0)4 79 75 86 44
[EMAIL PROTECTED]

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


[R] survey package

2003-01-27 Thread Marwan Khawaja
This is great! Thanks Thomas!
Marwan

-Date: Sat, 25 Jan 2003 11:55:12 -0800 (PST)
-From: Thomas Lumley [EMAIL PROTECTED]
-To: [EMAIL PROTECTED]
-Subject: [R] survey package


-A new package `survey' for analysing complex survey samples is on CRAN.
I-t handles stratification, clustering, and unequal sampling probabilities
-in descriptive statistics, glms, and general maximum likelihood fitting.
-The package is still under development:
-  - it doesn't do the finite population correction to variances
-  - it needs some real life worked examples

-Most importantly, though, I don't do this sort of analysis routinely, so
-it's possible that some part of the interface is completely insane from
-the viewpoint of practising survey statisticians. Now would be an
-excellent time to complain.

-   -thomas


-Thomas Lumley  Asst. Professor, Biostatistics
[EMAIL PROTECTED]   University of Washington, Seattle


--
Marwan Khawaja  http://webfaculty.aub.edu.lb/~mk36  if you have MS Explorer

--



attachment: winmail.dat

[R] Using Internet proxies

2003-01-23 Thread Marwan Khawaja
Hi,
I want to thank Prof Ripley for his very helpful suggestions re internet
proxies.
This is great -- very useful!
Marwan


--
Marwan Khawaja  http://webfaculty.aub.edu.lb/~mk36  if you have MS Explorer

--


From: [EMAIL PROTECTED]
Date: Wed, 22 Jan 2003 19:07:42 + (GMT)
To: [EMAIL PROTECTED]
Subject: [R] Using Internet proxies

There have been quite a few questions recently about this, so I have 
tried to gather experience.  I set up a proxy using Apache2 (a very common 
server) behind our firewall and tried various authentication approaches.

One comment: all the methods return error messages when they fail.  Please 
don't report `it doesn't work' without the full details.

1) For a proxy that authenticates at most by hostname/IP address, and for
Windows users, just set up IE6 to work, and use the --internet2
command-line flag.  This worked for me (despite various claims here).

2) For a proxy that authenticates at most by hostname/IP address, the
internal download.file method works, provided you set the environment
variable http_proxy or HTTP_PROXY correctly, e.g. in ~/.Renviron.
This is almost of the same form as used by wget, but is less tolerant,
and note that setting `no_proxy' disables the proxy for all sites (unlike 
for wget).

3) If you have a proxy that demands that you enter a username/password 
combination, you can use the internal download method in R-devel: see
?download.file.

4) Installing wget and using the options(download.file.method=wget)
provides a highly tunable approach.  For Windows users, wget is still
available on http://www.stats.ox.ac.uk/pub/Rtools.

Note that none of these methods support proxies that want more advanced 
methods of authentication, e.g. Digest under HTTP/1.1.  If there are
any such proxies, please can a user provide us with a proven method.

-- 
Brian D. Ripley,  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel:  +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UKFax:  +44 1865 272595



--
Marwan Khawaja  http://webfaculty.aub.edu.lb/~mk36  if you have MS Explorer

--



attachment: winmail.dat