[R] Unexpected behaviour of windowsFonts() when Rdevga is edited

2017-12-26 Thread csrabak
Hi folks,   Running R in a Windows machine:   > sessionInfo() R version 3.4.2 (2017-09-28) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 8.1 x64 (build 9600)   Matrix products: default   locale: [1] LC_COLLATE=Portuguese_Brazil.1252  LC_CTYPE=Portuguese_Brazil.1252    [3] LC_MON

Re: [R] RScript.exe and map directory issue

2012-05-31 Thread csrabak
Em 31/5/2012 17:40, Bert Jacobs escreveu: Hi, I'm trying to run on Windows 7 a scriptfile with Rscript.exe from within Excel 2010 with the following code: Call Shell(rPath& "\Rscript.exe C:\Work\Latest\_Test.R", vbHide) The good news is: the above code works perfectly, but ... If I add white s

Re: [R] use xyplot to plot mean and CI by groups

2012-05-30 Thread csrabak
Em 29/5/2012 17:42, John Smith escreveu: Dear R users, I am trying to use xyplot to draw group mean and CI. The following is the sample code. [attached code snipped] Did you try the plotmeans function from the gplots package? But I want: 1. Use different colors and symbols to draw indi

Re: [R] two sided wilcox test

2012-05-23 Thread csrabak
Em 23/5/2012 11:59, evaD escreveu: Hey, could I just ask you a quick question? if i have two sets of numbers, eg: list1 = 1,3,4,4,4 list2 = 1,2,4,5,6 and in R, i run the command: wilcox.test(list1, list2, paired=TRUE, alternative="greater") and say i get a p-value of 0.0001 Does this tel

Re: [R] Discrepancies in the estimates of Partial least square (PLS) in SAS and R

2012-05-04 Thread csrabak
Em 4/5/2012 06:39, Bjørn-Helge Mevik escreveu: rakeshnb writes: [snipped] When in doubt, read the documentation. :) An obvious candidate for a fortune entry! __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLE

Re: [R] boxplot with diamond shape

2012-01-17 Thread csrabak
Em 16/1/2012 08:07, David martin escreveu: Hi, I haven't found in R a possibility to draw a boxplot with a diamond shape (means and CI). David, Perhaps, even prejudicially, as I cannot see any advantage on the diamond shape for displaying just two dimensions, I would recommend you check if pl

Re: [R] Fwd: WHO Anthro growth curve macros and R&In-Reply-To=

2012-01-05 Thread csrabak
Em 5/1/2012 14:59, severine.fri...@lshtm.ac.uk escreveu: Dear Gustaf, I wish you a happy new year! I am a PhD Staff at LSHTM and I have been trying to use WHO anthro macros in R with the file you posted on internet but when I double check the WHZ, HAZ, WAZ output with output from ENA or STATA,

Re: [R] R Source Code Request Office For National Statistics UK

2011-12-22 Thread csrabak
Em 21/12/2011 11:22, Uwe Ligges escreveu: On 21.12.2011 14:25, David Winsemius wrote: There are no restrictions needed. Any of your staff can view the (open) source code just as any other member of the human race I do not think the GPL excludes other species ... Since the null hypothesis is

Re: [R] error while using shapiro.test()

2011-10-02 Thread csrabak
Em 1/10/2011 13:24, spicymchaggis101 escreveu: Thank you very much! your response solved my issue. I needed to determine the probability of normality for word types per page. You need to insure this assumption is reasonable for your problem domain as words types per page seems like count data

Re: [R] Reading data in lisp format

2011-09-21 Thread csrabak
Em 21/9/2011 07:39, ESTEBAN ALFARO CORTES escreveu: Hi, I am trying to read the "credit.lisp" file of the Japanese credit database in UCI repository, but it is in lisp format which I do not know how to read. I have not found how to do that in the foreign library http://archive.ics.uci.edu

Re: [R] Question about permutation test

2011-09-16 Thread csrabak
Hope you don't find this a rethorical question, but why did you prefer to "google" the function instead of reading the fine manual? Em 16/9/2011 16:07, song_gpqg escreveu: Hi! I am doing a permutation test on 7 data randomly selected into two groups, one has 4 and the other 3. The purpose is t

Re: [R] suggestion for proportions

2011-09-12 Thread csrabak
Em 9/9/2011 14:32, array chip escreveu: Thanks all again for the suggestions. I agree with Wolfgang that mcnemar.test() is what I am looking for. The accuracy is the proportion of correct diagnosis compared to a gold standard, and I am interested in which diagnosis test is better, not particular

Re: [R] suggestion for proportions

2011-09-08 Thread csrabak
Em 8/9/2011 05:24, Viechtbauer Wolfgang (STAT) escreveu: I assume you mean Cohen's kappa. This is not what the OP is asking about. The OP wants to know how to test for a difference in the proportions of 1's. Cohen's kappa will tell you what the level of agreement is between the two tests. This is

Re: [R] suggestion for proportions

2011-09-07 Thread csrabak
Em 7/9/2011 16:53, array chip escreveu: Hi all, thanks very much for sharing your thoughts. and sorry for my describing the problem not clearly, my fault. My data is paired, that is 2 different diagnostic tests were performed on the same individuals. Each individual will have a test results fr

Re: [R] Find pattern in matrix

2011-07-22 Thread csrabak
This kind of problem can be addressed with branch and cut or similar Operations Research methods. Get a look at the CRAN task view "Optimization and Mathematical Programming" specially the packages for Integer Programming and Mixed Integer Programming. Depending on the demands you have in yo

Re: [R] when to use `which'?

2011-07-13 Thread csrabak
Em 12/7/2011 17:29, David Winsemius escreveu: [snipped] If you have millions of records and tens of thousands of NA's (say ~ 1% of the data), imagine what your console looks like if you try to pick out records from one day and get 10,000 where you were expecting 100. A real PITA when you are

Re: [R] Issue with dataset inclusion in CRAN packages

2011-06-26 Thread csrabak
Em 26/6/2011 17:43, Frank Harrell escreveu: I was glad to see the new rpart.plot package by Stephen Milborrow. I was however a bit concerned that Stephen distributed a dataset I created, and renamed the dataset (from titanic3 to ptitanic) in the process [with some justification, as some variable

Re: [R] distance matrix

2011-05-05 Thread csrabak
Em 5/5/2011 07:34, antu escreveu: Hello all, I am wondering if there is anyway to create distance matrix for replicated data for example, I have a data like sample pop id var1var2var3var4 1.1 1 a 1 1 0 1 1.2 1 a 0 0

Re: [R] Insert regression coefficients in a graphic.

2011-04-23 Thread csrabak
Em 22/4/2011 21:48, David Winsemius escreveu: On Apr 22, 2011, at 2:16 PM, JJCV wrote: Hello. I did a graphic with the next code: T=c(10,15,20,25,30) p=c(1003,1005,1010,1011,1014) plot(T, p, xlab=" ",, ylab=" ", pch=1, cex=2, lwd=2, xlim=c(5,30), ylim=c(1000,1015)) abline(lm(p ~ T), lwd=2) l

Re: [R] Rcmdr vs SPSS in hungarian

2011-04-21 Thread csrabak
Em 21/4/2011 11:36, Jeremy Miles escreveu: Just because it comes from a book does not make it true or correct. Books are subject to considerably less peer review than journal articles. Publishers will publish a book written by (almost) anyone - I know this, because I've written some of them and

Re: [R] please help ! label selected data points in huge number of data points potentially as high as 50, 000 !

2011-03-06 Thread csrabak
Em 5/3/2011 21:29, Umesh Rosyara escreveu: Dear All I am reposting because I my problem is real issue and I have been working on this. I know this might be simple to those who know it ! Anyway I need help ! Let me clear my point. I have huge number of datapoints plotted using either base plot f

Re: [R] Ordering several histograms

2011-03-03 Thread csrabak
Em 3/3/2011 12:00, djbirdnerd escreveu: Hallo everyone, I want to evaluate the change of the distribution for several size classes. How can i order these separate histograms with the same y-axis along a common x-axis according to their size classes. It would like it to look a bit like this (http

Re: [R] problem with glm(family=binomial) when some levels have only 0 proportion values

2011-03-02 Thread csrabak
Em 2/3/2011 08:01, Jürg Schulze escreveu: Hello everybody This is not a R related problem, but rather more theoretic one, anyway: I want to compare the proportions of germinated seeds (seed batches of size 10) of three plant types (1,2,3) with a glm with binomial data (following the method i

Re: [R] Mean from confidence intervals

2011-01-29 Thread csrabak
Em 28/1/2011 20:15, Peter Francis escreveu: Dear List, I am not sure if A) this is possible or B) the correct place to ask. I am looking to find the mean - i have n, and the two-tailed confidence intervals 0.95& 0.25 with a p-value of 0.05. Can i find the mean from this data ? Thanks Pet

Re: [R] weighed mean of a data frame row-by-row

2011-01-06 Thread csrabak
Em 6/1/2011 11:33, Vassilis escreveu: Dear list, This must be an easy one. I have a data frame like this one: test.df <- data.frame(x1=c(2,3,5), x2=c(5, 3, 4), w=c(0.8, 0.3, 0.5)) and I want to construct a weighted mean of the first two columns using the third column for weighting; i.e. y[1]

Re: [R] how to control ticks

2010-12-21 Thread csrabak
Em 21/12/2010 14:35, peter dalgaard escreveu: On Dec 21, 2010, at 17:01 , Edwin Groot wrote: On Tue, 21 Dec 2010 18:06:52 +0530 Yogesh Tiwari wrote: Hi, I want 12 ticks at axis 1 and want to write Jan-Dec on each. something like: axis(1, at=1:12, labels=c('J','F','M','A','M','J','J','A','S

Re: [R] Question

2010-12-16 Thread csrabak
Em 14/12/2010 12:46, Matthew Rosett escreveu: How do I determine if my data deviate from the normal distribution? The sample size is 1000 (weights of people). As others already posted about the Statistical theoretic aspects of it, I want to add that weights of people are not normal distributed

Re: [R] Rexcel

2010-11-22 Thread csrabak
Em 22/11/2010 10:11, Luis Felipe Parra escreveu: Hello I am new to RExcel and I would like to run a source code form the excel worksheet. I would like to run the following code source("C:\\Quantil Aplicativos\\Genercauca\\BackwardSelectionNC.r") from the excel wroksheet. Does anybody know how t

Re: [R] About upgrade R

2010-11-17 Thread csrabak
Em 16/11/2010 04:55, Tal Galili escreveu: Hello Cesar, Thank you for the reply. Another question I have is if it is possible to detect the library path of an old R install, from the terminal of the new R install. Cheers, Tal, An at large reply would be no. The old install can be in a complet

Re: [R] About upgrade R

2010-11-15 Thread csrabak
Em 14/11/2010 20:42, csrabak escreveu: Em 14/11/2010 18:24, Tal Galili escreveu: Hi John, thank you for that input. It could be that the code I wrote here: http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/ Should be updated so every

Re: [R] About upgrade R

2010-11-14 Thread csrabak
Em 14/11/2010 18:24, Tal Galili escreveu: Hi John, thank you for that input. It could be that the code I wrote here: http://www.r-statistics.com/2010/04/changing-your-r-upgrading-strategy-and-the-r-code-to-do-it-on-windows/ Should be updated so every time you install a new R version, you run the