Re: [R-es] Promedio elementos vector

2017-08-16 Thread Carlos Ortega
Hola Manuel, Utilizando el conjunto de ejemplo que enviaste, la matriz resultante con las medias no era "character" era todo numérico. Supongo que habrás obtenido "character" porque tu matriz de trabajo de partida tendrá algún elemento como character ... Se puede incluir una función

[R-es] Promedio elementos vector

2017-08-16 Thread Manuel Máquez
Estimado Carlos: Di por solucionado el asunto de referencia, sin embargo me topé con un problema, y es que los valores que da la matriz con los promedios son texto, y no encuentro la manera de convertirlos a número, y así poder usarlos con otras cantidades. ¿Me puedes ayudar nuevamente para

Re: [R] Plotrix install bug with Umlauts in path name

2017-08-16 Thread Jim Lemon
Hi Andre, This sounds to me like a locale problem. Installation of a package is performed by functions like install.packages and as long as the package has passed CRAN checks, the contents shouldn't matter. I've copied this to the list as I'm sure that one of the experts in this area will have an

[R] Bias-corrected percentile confidence intervals

2017-08-16 Thread Joe Ceradini
Hi folks, I'm trying to estimate bias-corrected percentile (BCP) confidence intervals on a vector from a simple for loop used for resampling. I am attempting to follow steps in Manly, B. 1998. Randomization, bootstrap and monte carlo methods in biology. 2nd edition., p. 48. PDF of the

Re: [R] Fwd: Install package "diagram"

2017-08-16 Thread Jeff Newmiller
Indeed, that solution is usually the most straightforward one. For better or worse, this question is really about your operating system and its use of file access permissions, which is completely outside the scope of this mailing list and is for most people a hairy mess of complexity. For

[R] Fwd: Install package "diagram"

2017-08-16 Thread AbouEl-Makarim Aboueissa
Dear All: When I selected "yes" to the question Question: "would you like to use a personal library instead?", it works thanks any way abou -- Forwarded message -- From: AbouEl-Makarim Aboueissa Date: Wed, Aug 16, 2017 at 11:58 AM Subject: Install

[R] Install package "diagram"

2017-08-16 Thread AbouEl-Makarim Aboueissa
Dear All: I am trying to install the package "diagram". It is in the list. But when I selected the package to install it, it says: Question: "would you like to use a personal library instead?" I selected No. Then it says > utils:::menuInstallPkgs() Warning in install.packages(NULL,

Re: [R-es] Operaciones entre variables de un dataframe

2017-08-16 Thread David Contreras
Buen dia, Soluciando, gracias por su ayuda!!! *David Contreras* Estadístico Móvil 3124345188. <%2B57%20%281%29%204841410%20Ext.%20257> davidcontrera...@gmail.com El 16 de agosto de 2017, 6:59, Javier Marcuzzi < javier.ruben.marcu...@gmail.com>

Re: [R] {nlme} Question about modeling Level two heteroscedasticity in HLM

2017-08-16 Thread b88207001
Hi Bert, Thank you so much for your kind guidance! I will post my question there. Best, Yen 引述 Bert Gunter : A better place for this post would be on R's mixed models list: r-sig-mixed-models . Cheers, Bert Bert Gunter "The trouble with having an open mind is

Re: [R-es] Contar palabras sin tener en cuenta observaciones con NA

2017-08-16 Thread eric
Hola Miriam, Extendiendo lo que dice Jesus, si primero filtras tu columna con el titulo (si es que entiendo bien que tienes una columna con el titulo completo en una celda) usando el operador %nin% de la libreria Hmisc, algo asi: library(Hmisc)

Re: [R] {nlme} Question about modeling Level two heteroscedasticity in HLM

2017-08-16 Thread b88207001
Hi Jeff, Thank you for your response! I appreciate the guide. I will post my question there! Best, Yen 引述 Jeff Newmiller : If you don't get a response it is because you did not read the Posting Guide which indicates that the R-sig-ME mailing list is where

Re: [R] {nlme} Question about modeling Level two heteroscedasticity in HLM

2017-08-16 Thread Bert Gunter
A better place for this post would be on R's mixed models list: r-sig-mixed-models . Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Aug

Re: [R] {nlme} Question about modeling Level two heteroscedasticity in HLM

2017-08-16 Thread Jeff Newmiller
If you don't get a response it is because you did not read the Posting Guide which indicates that the R-sig-ME mailing list is where this question would have been on-topic. -- Sent from my phone. Please excuse my brevity. On August 16, 2017 6:17:03 AM PDT, b88207...@ntu.edu.tw wrote: >Hello

Re: [R] Statistical / data mining methods in R and not in SAS?

2017-08-16 Thread Bert Gunter
David's reply is far more comprehensive, but it may be worth adding that new "data mining" packages are being added almost daily to R software repositories (CRAN, github, etc.), so that anything one would say about this becomes almost instantly outdated. e.g. from a post 4 days ago here from Nan

[R] {nlme} Question about modeling Level two heteroscedasticity in HLM

2017-08-16 Thread b88207001
Hello dear uesRs, I am working on modeling both level one and level two heteroscedasticity in HLM. In my model, both error variance and variance of random intercept / random slope are affected by some level two variables. I found that nlme is able to model heteroscedasticity. I learned

Re: [R-es] Operaciones entre variables de un dataframe

2017-08-16 Thread Javier Marcuzzi
Estimado David Contreras Lo primero no es sobre R, sino sobre el lenguaje, es lo mismo pero si nombra las variables como A, B, y C, la lectura es mucho más simple para el ojo humano y encontrar el error (luego colocar un nombre casi real). Es un problema simple, con muchas posibles formas para

Re: [R-es] Operaciones entre variables de un dataframe

2017-08-16 Thread eric
Hola David, no quiero enredarte con otras cosas ahora que comienzas con R, pero usando la libreria data.table quedaria asi: library(data.table) wryB03[ nEstCoordTMin > 0 & nEstCoordTMax > 0, nCoor3.1:=nEstCoordTMax - nEstCoordTMin ] Marque con

[R] [R-pkgs] arsenal v0.5.0: An Arsenal of 'R' Functions for Large-Scale Statistical Summaries

2017-08-16 Thread Heinzen, Ethan P.
I'm pleased to announce the release of the "arsenal" package v0.5.0 on CRAN (https://cran.r-project.org/package=arsenal). There are 4 items I want to mention: 1. arsenal is now on github: https://github.com/eheinzen/arsenal 2. ~10 bugs have been fixed in the latest release. 3.