[R-es] Prueba Dunnett con grupos (paquete DTK)

2015-10-05 Thread Argel Gastélum Arellánez
Hola compañeros de la lista. Estoy aplicando la prueba de Dunnett del paquete DTK, como en el ejemplo para la función DTK.test: library(DTK) x=c(rnorm(25,5,2),rnorm(30,5,5),rnorm(35,15,5)) f<-gl.unequal(n=3,k=c(25,30,35)) DTK.result<-DTK.test(x=x,f=f,a=0.05) DTK.result

Re: [R] count by category

2015-10-05 Thread PIKAL Petr
Hi there are maybe better solutions but I would use ave with length function for each column separately to add new column. See ?ave Cheers Petr > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Val > Sent: Tuesday, October 06, 2015 1:01 AM > To:

Re: [R] Johansen Test of Cointegration:How to access rows in R output

2015-10-05 Thread Pfaff, Bernhard Dr.
RTFM: help("ca.jo-class") library(urca) example(ca.jo) class(sjf.vecm) slotNames(sjf.vecm) slot(sjf.vecm, "cval") slot(sjf.vecm, "teststat") slot(sjf.vecm, "V") slot(sjf.vecm, "Vorg") Best, Bernhard -Ursprüngliche Nachricht- Von: R-help [mailto:r-help-boun...@r-project.org] Im Auftrag

[R] Package Installation: Repository for 3.2.1

2015-10-05 Thread Jutta Wrage
Hi! Guess, I got in trouble somehow now. Not sure whether this question is placed well in this list. Do I have to ask my question in R-SIG-MAC? Installed R version: 3.2.1 for OS X up to 10.8 I did update the package list from within R application and installed some new package versions. Now

Re: [R] [FORGED] Re: correlated binomial random variables

2015-10-05 Thread Rolf Turner
On 06/10/15 04:43, li li wrote: Hi all, Using the "bindata" package, it is possible to gerenerate correlated binomial random variables both with the same number of trials, say n. I am wondering whether there is an R function to calculate the joint probability distribution of the correlated

Re: [R] scatter3d

2015-10-05 Thread Jeff Tostenrude
So once I commented out 12 lines of code in the scatter3d function it plotted just the planes, as desired. Thanks for the help! On Sat, Oct 3, 2015 at 12:50 PM, Fox, John wrote: > Dear Uwe, > > > -Original Message- > > From: Uwe Ligges

[R] [R-pkgs] PortfolioEffectHFT - High Frequency Portfolio Analytics

2015-10-05 Thread Alexey Zemnitskiy
Dear R enthusiasts, I would like to announce PortfolioEffectHFT package availability on CRAN: https://cran.r-project.org/web/packages/PortfolioEffectHFT/ It is an R interface to PortfolioEffect Quant service for backtesting high frequency trading (HFT) strategies, intraday portfolio analysis

Re: [R] (no subject)

2015-10-05 Thread FERNANDO MANSITO CABALLERO
Hi Thanks a lot to all of you for your solutions and explanations. On Sun, Oct 4, 2015 at 10:34 PM, David Winsemius wrote: > > On Oct 4, 2015, at 11:31 AM, FERNANDO MANSITO CABALLERO wrote: > > > Dear Madam/Sir, > > > > I am trying to understand R and I have come to

[R] Does R work on Mac OS 10.11?

2015-10-05 Thread R Martinez
Has anyone tried to use R 3.2.2 on a Mac running OS 10.11 El Capitan? Did it work? Were any problems installing and running it? Thanks in advance, Raul Martinez Sent from my iPad 4 __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

Re: [R] Does R work on Mac OS 10.11?

2015-10-05 Thread boB Rudis
I use it daily (hourly, really) on 10.11 (including the new betas). No issues. On Mon, Oct 5, 2015 at 10:03 AM, R Martinez wrote: > Has anyone tried to use R 3.2.2 on a Mac running OS 10.11 El Capitan? Did it > work? Were any problems installing and running it? > > Thanks in

[R] preprocessing problem

2015-10-05 Thread Amit Sengupta via R-help
Hi,I am having a problem with the ReadAffy() in the university R programming environment. I install affyPLM and invoke library(affyPLM) in the following way. I have the cel files in the craig subdirectory. Please let me know how to resolve the problem.Amit

Re: [R] Does R work on Mac OS 10.11?

2015-10-05 Thread David Winsemius
Prof Ripley made an announcement on R-SIG-Mac that the development machine was recently (as in yesterday) changed to El Capitan. https://stat.ethz.ch/pipermail/r-sig-mac/2015-October/011632.html You should subscribe to the correct mailing list. On Oct 5, 2015, at 7:03 AM, R Martinez wrote:

[R] count by category

2015-10-05 Thread Val
Hi All, I have a data set ( region, city, town and district). The data looks like region, city, town, district 1 1 1 1 1 1 1 2 1 1 1 3 1 1 2 1 1 1 2 2 1 2 1 1 I want the counts for region, city and town. Here region 1 has 6 records, city 1 has 5 records and city 2 has 1

[R] SEM Packages for Testing Multilevel Mediation

2015-10-05 Thread Mark Podolsky
I am looking for SEM packages in R that can test multilevel mediation with multiple simultaneous mediators. It looks like the ‘Mediation’ package will do this. Are there others? Thanks, Mark __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

[R] CSimca

2015-10-05 Thread TJUN KIAT TEO
Does anyone knows how to return the prediction probabilities for CSimca function for rrcovHD package? [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and

[R] Quantile Regression without intercept

2015-10-05 Thread Preetam Pal
Hi guys, Can you instruct me please how to run quantile regression without the intercept term? I only know about the rq function under quantreg package, but it automatically uses an intercept model. Icant change that, it seems. I have numeric data on Y variable (Gdp) and 2 X variables (Hpa

Re: [R] correlated binomial random variables

2015-10-05 Thread li li
Hi all, Using the "bindata" package, it is possible to gerenerate correlated binomial random variables both with the same number of trials, say n. I am wondering whether there is an R function to calculate the joint probability distribution of the correlated binomial random variables. Say if X

[R] [R-pkgs] Major update to 'maps': v3.0.0

2015-10-05 Thread Alex Deckmyn
Hi, I am pleased to announce the availability of 'maps' v3.0.0 This is a major update, mainly because of a new 'world' map. The new data is adapted from the public domain GIS project Natural Earth (the 1:50m admin-0 countries map). This change in data has a number of consequences for users.

Re: [R] Change values of a column based on the values of a third

2015-10-05 Thread Jeff Newmiller
Either Dat$c <- ifelse( "Y"==Dat$b, rep( "D", nrow(Dat) ), Dat$a ) Or (more efficiently) Dat$c <- Dat$a Dat$c[ "Y"==Dat$b ] <- "D" Also, beware of creating data frames without using the stringsAsFactors=FALSE option if you plan to replace levels like this.

Re: [R] Quantile Regression without intercept

2015-10-05 Thread Roger Koenker
as for lm() or any other linear model fitting…. rq( y ~ x - 1, … ) url:www.econ.uiuc.edu/~rogerRoger Koenker emailrkoen...@uiuc.eduDepartment of Economics vox: 217-333-4558University of Illinois fax: 217-244-6678

[R] Change values of a column based on the values of a third

2015-10-05 Thread IOANNA IOANNOU
Hello all, I have a rather easy question. I want to add a column to the database which will change the values of vector a based on the values to vector b. Any ideas how? For example: Dat <- data.frame(a= c('A','A','C','B','D','D','B'), b=

[R] correlated binomial random variables

2015-10-05 Thread li li
__ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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

Re: [R] Change values of a column based on the values of a third

2015-10-05 Thread Sarah Goslee
?ifelse I changed Dat to a. have character type instead of factor, and b. actually match what you show in your example instead of already having D. Dat <- data.frame(a= c('A','A','C','B','C','C','B'), b= c('N','N','Y','N','Y','N','N'), stringsAsFactors=FALSE ) Dat$c <- with(Dat, ifelse(b == "Y"

Re: [R] Package Installation: Repository for 3.2.1

2015-10-05 Thread David Winsemius
On Oct 5, 2015, at 1:36 AM, Jutta Wrage wrote: > Hi! > > Guess, I got in trouble somehow now. > Not sure whether this question is placed well in this list. Do I have to ask > my question in R-SIG-MAC? > > Installed R version: 3.2.1 for OS X up to 10.8 > > I did update the package list from

Re: [R] Quantile Regression without intercept

2015-10-05 Thread stephen sefick
I have never used this, but does the formula interface work like lm? Y~X-1? On Mon, Oct 5, 2015 at 10:27 AM, Preetam Pal wrote: > Hi guys, > > Can you instruct me please how to run quantile regression without the > intercept term? I only know about the rq function under

Re: [R] Quantile Regression without intercept

2015-10-05 Thread Preetam Pal
Yes..it works. Thanks  -Original Message- From: "stephen sefick" Sent: ‎05-‎10-‎2015 09:01 PM To: "Preetam Pal" Cc: "r-help@r-project.org" Subject: Re: [R] Quantile Regression without intercept I have never used

Re: [R-es] error

2015-10-05 Thread JA Palazón
Hola: Hay exceso de ; concretamente en los nombre de los paises, por ejemplo: |Congo,;Dem.;Rep.;76,92307692 Congo,;Rep.;45,45454545;25,64102564 | que debieran ser: |Congo Dem Rep.;76,92307692 Congo Rep.;45,45454545;25,64102564 | Además hay algunos caracteres malditos, concretamente la tilde.