Re: [R-es] resultados en tabla

2023-07-01 Thread MaLuz Morales Botello
t; >- https://danchaltiel.github.io/crosstable/ > > Gracias, > Carlos Ortega > www.qualityexcellence.es > > El vie, 30 jun 2023 a las 20:49, MaLuz Morales Botello () > escribió: > >> mmm he encontrado una "alternativa", me lo he copiado a word el resulta

Re: [R-es] resultados en tabla

2023-06-30 Thread MaLuz Morales Botello
mmm he encontrado una "alternativa", me lo he copiado a word el resultado y he bajado el tamaño de letra y con eso ya queda ordenado, jeje. Gracias de todas formas! Saludos El vie, 30 jun 2023 a las 20:46, MaLuz Morales Botello () escribió: > Muy buenas! >

[R-es] resultados en tabla

2023-06-30 Thread MaLuz Morales Botello
Muy buenas! estoy haciendo: > frecuencias.fnc(datos, variable=c('NivelEstudios_manova:Genero2_manova:Edad_manova'), prop = T) me devuelve algo difícil de leer porque se entrejuntan unos números con otros y filas con otras, un lío vaya!. Hay alguna manera de hacer que salga en una tablita o

Re: [R-es] error en MANOVA

2023-06-15 Thread MaLuz Morales Botello
actor(Genero2_1a2) > > Manova.fnc(datosPAS, variables=2:6, > > fac.inter=c('Edad_Manova_18a54','Genero2_1a2'),poshoc=c('todos')) > > > > Saludos, > > Marcelino > > > > > > El 14/06/2023 a las 20:26, MaLuz Morales Botello escribió: > > > &

[R-es] error en MANOVA

2023-06-14 Thread MaLuz Morales Botello
Muy buenas, He usado muy poco R en mi vida, y ahora estoy intentando hacer una MANOVA, con dos variables independientes (Edad, que tiene 4 niveles y Genero que tiene 2) y 5 variables independientes. Le he puesto también que me haga el poshoc de las dos y la interacción. Decir también que me

[R-es] El primer libro sobre R

2023-03-10 Thread Alejandro Hernández Morales
Hola. Saludos cordiales. Espero me puedan ayudar en la siguiente consulta. Estoy desarrollando un resumen de la historia de R para una clase. Pero me surgió una duda ¿Cuál fue el primer libro enfocado en el lenguaje de programación R? Gracias por su atención. -- [image:

Re: [R-es] Problemas con beamer en RMarkdown

2021-02-16 Thread MANUEL MORALES ORTIZ
Muchas gracias!! No me hab�a dado cuenta del guion bajo. Saludos Manuel Morales Ortiz Profesor Titular Universidad �rea de Metodolog�a de las Ciencias del Comportamiento Tel�fono: +34 954 55 76 83 Web: http://personal.us.es/morales/ Solicitud de tutorias: https://calendly.com

[R-es] Problemas con beamer en RMarkdown

2021-02-16 Thread MANUEL MORALES ORTIZ
Hola, estoy utilizando beamer dentro de TMarkdown y no consigo cambiar el rótulo de 'Table' por el de 'Tabla'. En RMarkdown si lo consigo con la opción '\renewcommand{\tablename}{Tabla}', pero si el documento es en beamer no lo consigo. Tampoco consigo que en beamer me permita utilizar la

[R-es] Hacer una gráfico de dispersión y línea de tendencia.

2017-04-28 Thread alejandro hernández morales
Buenas. Espero me pueda ayudar. Tengo dos variables cuantitativas, quiero aplicar un gráfico de dispersión y aplicarle una línea de tendencia, Pero no veo la manera de hacerlo. Agradecería su ayuda. Muchas gracias. -- *Alejandro Hernández Morales* *Departamento de Biología Marina* Centro

Re: [R-es] Ayuda con la homocedasticidad de Varianza

2016-06-14 Thread morales
Hola, puedes calcular las cuasivarianzas muestrales por columnas mediante tapply y luego compararlas. El cociente entre las dos varianzas sigue una distribución F de Snedecor con grados de libertad n1-1 y n2-2. Puedes calcular la probabilidad de aceptar H0 con la función pf. El 14/06/2016 12:00,

Re: [R-es] error en tarea mapreduce en Rstudio en ubuntu

2016-02-16 Thread MªLuz Morales
era idéntico El 16 de febrero de 2016, 11:56, Javier Marcuzzi < javier.ruben.marcu...@gmail.com> escribió: > Estimada Morales > > > > ¿La ubicación de los archivos es idéntica o se instalaron y compilaron de > diferentes formas obteniendo algunas diferencias? >

[R-es] error en tarea mapreduce en Rstudio en ubuntu

2016-02-16 Thread MªLuz Morales
Buenos días, Tengo instalado un cluster en una máquina virtual y he instalado R y Rstudio (sobre Ubuntu server 14.04 64 bits ) . Desde consola puedo entrar en R y ejecutar un ejemplo con mapreduce sin problemas. Pero cuando lo intento hacer desde Rstudio obtengo este error: 16/02/16 10:37:00

Re: [R-es] SVM hadoop

2015-12-10 Thread MªLuz Morales
Un día leí algo en el siguiente hipervínculo, pero nunca lo use. > > > > > http://blog.revolutionanalytics.com/2015/06/using-hadoop-with-r-it-depends.html > > > > Javier Rubén Marcuzzi > > > > > > > *De: *Carlos J. Gil Bellosta > *Enviado: *miércoles

Re: [R-es] SVM hadoop

2015-12-10 Thread MªLuz Morales
entes modelos (SVM, RF, LDA) sobre un mismo conjunto de datos y > utiilzando diferente número de "cores". > > Gracias, > Carlos Ortega > www.qualityexcellence.es > > El 10 de diciembre de 2015, 11:56, MªLuz Morales <mlzm...@gmail.com> > escribió: > >> Hola,

[R-es] SVM hadoop

2015-12-09 Thread MªLuz Morales
paralelizable, es decir, que pueda correr en paralelo a través de la plataforma R-hadoop. Muchas gracias Un saludo MªLuz Morales [[alternative HTML version deleted]] ___ R-help-es mailing list R-help-es@r-project.org https://stat.ethz.ch/mailman

Re: [R-es] sobre fread {data.table}

2015-09-30 Thread MªLuz Morales
SE, sep = "", quote = "\"'", >>dec = ".", numerals = c("allow.loss", "warn.loss", "no.loss"), >>row.names, col.names, as.is = !stringsAsFactors, >>na.strings = "NA", colClasses = NA, nrows = -1,

Re: [R-es] sobre fread {data.table}

2015-09-29 Thread MªLuz Morales
utilizaste? > Saludos cordiales, > Jorge.- > > > 2015-09-29 9:55 GMT-05:00 MªLuz Morales <mlzm...@gmail.com>: > >> Buenas tardes, >> >> intento almacenar el contenido de un archivo .docx en un data.table, pero >> solo me devuelve 1855 filas cuando deberñi

Re: [R-es] sobre fread {data.table}

2015-09-29 Thread MªLuz Morales
lines.skip = TRUE, >comment.char = "#", >allowEscapes = FALSE, flush = FALSE, >stringsAsFactors = default.stringsAsFactors(), >fileEncoding = "", encoding = "unknown", text, skipNul = FALSE) > > >

Re: [R-es] sobre fread {data.table}

2015-09-29 Thread MªLuz Morales
sto: > https://github.com/hrbrmstr/docxtractr > > Saludos, > Carlos Ortega > www.qualityexcellence.es > > El 29 de septiembre de 2015, 16:55, MªLuz Morales <mlzm...@gmail.com> > escribió: > >> Buenas tardes, >> >> intento almacenar el contenido de u

Re: [R-es] sobre fread {data.table}

2015-09-29 Thread MªLuz Morales
ludos, > Carlos Ortega. > > El 29 de septiembre de 2015, 17:38, MªLuz Morales <mlzm...@gmail.com> > escribió: > >> De acuerdo, >> voy a probarlo >> Muchas gracias >> >> Saludos >> MªLuz >> >> El 29 de septiembre de 2015, 17:31, Pedro C

Re: [R-es] Resumen de R-help-es, Vol 79, Envío 16

2015-09-21 Thread morales
Hola,si añades header-includes: - usepackage[utf8]{inputenc} debajo del output en la cabecera(yaml) no debes tener problemas con las tildes. También debes usar codificación utf8 dentro de RStudio. Saludos, El 21/09/2015 12:00, r-help-es-requ...@r-project.org escribió: > Envíe los

Re: [R-es] procesamiento de textos con R

2015-07-07 Thread MªLuz Morales
. Gracias Un saludo El 7 de julio de 2015, 11:14, MªLuz Morales mlzm...@gmail.com escribió: Buenos días, quisiera saber si existe algún paquete en R para procesamiento de texto, búsqueda de similitudes y ese tipo de cosas. He estado buscando pero no he encontrado nada al respecto. Gracias Un

Re: [R-es] Sobre data.table

2015-06-19 Thread MªLuz Morales
. Mandanos el summary de tu data.table y lo vemos... - Mensaje original - De: MªLuz Morales mlzm...@gmail.com Para: Carlos J. Gil Bellosta c...@datanalytics.com CC: r-help-es r-help-es@r-project.org Enviados: Viernes, 19 de Junio 2015 16:02:58 Asunto: Re: [R-es] Sobre data.table Hola

Re: [R-es] Sobre data.table

2015-06-19 Thread MªLuz Morales
tablas con un tamaño dos órdenes de magnitud superiores comenzarías a detectar diferencias de rendimiento. Un saludo, Carlos J. Gil Bellosta http://www.datanalytics.com El día 19 de junio de 2015, 17:07, MªLuz Morales mlzm...@gmail.com escribió: Este es el summary de mi data.table

Re: [R-es] Regresión logística

2015-06-17 Thread MªLuz Morales
, MªLuz Morales wrote: Gracias! El 15 de junio de 2015, 16:54, Freddy Omar López Quintero freddy.vat...@gmail.com escribió: ​Holap.​ ran out of iterations and failed to converge ​Prueba aumentando el número de iteraciones, con el argumento maxit: ​GLM - bigglm(In.hospital_death

Re: [R-es] Regresión logística

2015-06-16 Thread MªLuz Morales
Gracias! El 15 de junio de 2015, 16:54, Freddy Omar López Quintero freddy.vat...@gmail.com escribió: ​Holap.​ ran out of iterations and failed to converge ​Prueba aumentando el número de iteraciones, con el argumento maxit: ​GLM - bigglm(In.hospital_death ~ GCS + BUN, data = DatosGLM,

[R-es] Regresión logística

2015-06-15 Thread MªLuz Morales
Hola, estoy intentando hacer una regresión logística entre la primera columna de mi data.table (In.hospital_death) y otras dos (GSV y BUN) , me da el error de abajo, he intentado eliminar las filas con valor NA por si esta función no lo admite, pero sigue dando el mismo error. ¿Alguien sabe porqué

Re: [R-es] columna de un data.table puede ser data.frame?

2015-06-08 Thread MªLuz Morales
Hola, si, se que para trabajar con data.table se usan [] pero en esta línea estoy creando el data.table, es decir, data.table es la función a la que llamo y PesosParam es el data.table que creo Un saludo MªLuz Morales El 8 de junio de 2015, 15:17, Carlos J. Gil Bellosta c...@datanalytics.com

[R-es] columna de un data.table puede ser data.frame?

2015-06-08 Thread MªLuz Morales
) invisible(alloc.col(PesosParam)) pero no encuentra settruelength Gracias Un saludo MªLuz Morales [[alternative HTML version deleted]] ___ R-help-es mailing list R-help-es@r-project.org https://stat.ethz.ch/mailman/listinfo/r-help-es

Re: [R-es] columna de un data.table puede ser data.frame?

2015-06-08 Thread MªLuz Morales
las variables tendrás que indicar el data.frame (el data) donde están esas variables...​ Saludos, Carlos Ortega www.qualityexcellence.es El 8 de junio de 2015, 15:14, MªLuz Morales mlzm...@gmail.com escribió: Hola, yo quiero construir un data.table donde una columna (Parametros) son

[R-es] organización datos con data.table

2015-06-03 Thread MªLuz Morales
Hola de nuevo Carlos, data.table, aunque eficiente, no es muy trivial para manejar. De los mismos archivos Set-A que comentábamos hace unos días, en la pregunta mi script R es muy lentoa la lista...yo hago: library(data.table) datSet - fread(Set-A.csv) datSet2 - datSet[, .(NumVal=length(Value)),

Re: [R-es] information.gain de la libreria FSelector

2015-06-02 Thread MªLuz Morales
Hola Javier, yo soy licenciada en Físicas pero también tengo algo de información médica (doctorado en Neurociencia) Un saludo El 2 de junio de 2015, 15:35, javier.ruben.marcu...@gmail.com escribió: Estimada María Luz Morales ¿Qué título universitario tiene usted?, es para pensar en como

[R-es] information.gain de la libreria FSelector

2015-06-02 Thread MªLuz Morales
? Gracias Un saludo MªLuz Morales Universidad Europea de Madrid [[alternative HTML version deleted]] ___ R-help-es mailing list R-help-es@r-project.org https://stat.ethz.ch/mailman/listinfo/r-help-es

Re: [R-es] La ejecución de mi script R es muy lenta

2015-05-29 Thread MªLuz Morales
Hola Miguel Ángel, creo que Carlos Ortega me ha dado una solución a mi problema con R...voy a probarlo... No sabía que había esa limitación en el tamaño del email, lo tendré en cuenta para la próxima. Muchas gracias en cualquier caso Un saludo MªLuz Morales Dpto. Ciencias y Tecnología de la

Re: [R-es] La ejecución de mi script R es muy lenta

2015-05-28 Thread MªLuz Morales
que son los diferentes agregados y esto se puede hacer mucho más rápido (segundos) con varios paquetes: data.table, dplyr y sqldf. Saludos, Carlos Ortega www.qualityexcellence.es El 28 de mayo de 2015, 15:34, javier.ruben.marcu...@gmail.com escribió: Estimada María Luz Morales Puedes

[R-es] Problema con bucle for

2015-02-24 Thread morales
Hola, quiero obtener la suma del producto de los elementos de un vector y cuando construyo el código me aparecen una serie de NA que me impiden calcular la suma. ¿Alguna sugerencia? El código es el siguiente: x- c(24,12,45,68,45) n-length(x) res-numeric() for(i in 1:n-1){ for(j in i+1:n){

Re: [R-es] Problema con bucle for

2015-02-24 Thread morales
Muchas gracias por la solución. El 24/02/2015 10:36, Francisco Rodríguez escribió: Si he entendido bien el problema, lo que quieres hacer realmente es esto: x- c(24,12,45,68,45) n-length(x) res=0 for(i in 2:n-1){ for(j in (i+1):n){ res- res + (x[i]*x[j]) print(res) } }

Re: [R-es] Problema con bucle for

2015-02-24 Thread morales
Muchas gracias de nuevo por las soluciones aportadas. El 24/02/2015 11:10, Jorge I Velez escribió: O solo R sum(combn(x, 2, prod)) [1] 14121 Saludos, Jorge.- 2015-02-24 21:00 GMT+11:00 Carlos Ortega c...@qualityexcellence.es: Hola, Otra forma de hacerlo, es así:

[R-es] ★ ¡Lee tu mensaje antes de que sea borrado!

2014-08-14 Thread Deybi Morales
Este email es parte de nuestro sistema de envío del mensaje enviado por Deybi Morales. Si usted recibe este email por error, por favor ignórelo. El mensaje será eliminado pronto. Lea su mensaje aqui: http://us1.badoo.com/01131131652/in/v5E693sw0bk/?lang_id=7g=57-0-4m=651mid

[R] Problem installing packages in R 2.11.1

2011-04-07 Thread Horacio Claudio Morales Torres
The issue shows when installing some packages. I was interested in using gplots so i ran: install.packages(gplots, dependencies=TRUE) and the outcome was something like this: Aviso en install.packages(gplots, dependencies = TRUE) : argument 'lib' is missing: using

Re: [R] Multiplying elements of vectors

2011-02-06 Thread Mariana Martinez-Morales
                                        spec...@stat.berkeley.edu On Sat, 5 Feb 2011, Mariana Martinez-Morales wrote: Hi guys: Sorry if this question is very basic. I’m learning basic matrix and vectors multiplication to develop a population matrix model for plants. I’m trying to multiply

Re: [R] Multiplying elements of vectors

2011-02-05 Thread Mariana Martinez-Morales
Sorry I just sent a message, but I forgot to say thanks for any suggestion and help!! Mariana __ R-help@r-project.org 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] Multiplying elements of vectors

2011-02-05 Thread Mariana Martinez-Morales
Hi guys: Sorry if this question is very basic. I’m learning basic matrix and vectors multiplication to develop a population matrix model for plants. I’m trying to multiply the elements of two vectors (each of the “x” values by each of the “y” values) to obtain a square matrix of xy values. f.e.

[R] Aligned Rank transformation

2010-09-20 Thread Horacio Claudio Morales Torres
Hi everyone: I would like to know if there is a way of applying this kind of transformation in R (i mean aligned ranks). I read that this was a good way of analyzing interactions in data with outliers and a not normal distribution. The rank transformation is useful analyzing principal effects,

Re: [R] lineplot.CI in sciplot: option ci.fun can't be changed?

2010-04-02 Thread Manuel Morales
For now, just change fun(x) to median(x) (or whatever) in your ci.fun() below. E.g. lineplot.CI(x.factor = dose, response = len, data = ToothGrowth, ci.fun= function(x) c(mean(x)-2*se(x), mean(x)+2*se(x))) Otherwise, maybe the list members could help with a solution. An example that illustrates

Re: [R] bargraph.ci - CI and color question.

2009-11-03 Thread Manuel Morales
On Tue, 2009-11-03 at 03:51 -0600, Michael Just wrote: Hello, When using bargraph.CI in package sciplot can the bars for each group be different colors? How do I select the color for each group? With the option err.col bargraph.CI(dose, len, group = supp, data =ToothGrowth,

Re: [R] bargraph.ci - CI and color question.

2009-11-03 Thread Manuel Morales
the ?bargraph.ci help I would greatly appreciate an indication of where it is. Thank you kindly, Michael Just On Tue, Nov 3, 2009 at 8:53 AM, Manuel Morales manuel.a.mora...@williams.edu wrote: On Tue, 2009-11-03 at 03:51 -0600, Michael Just wrote: Hello, When using bargraph.CI in package sciplot

Re: [R] lme, lmer, gls, and spatial autocorrelation

2009-08-24 Thread Manuel Morales
Hi Tim, I don't believe there is a satisfactory solution in R - at least yet - for non-normal models. Ultimately, this should be possible using lmer() but not in the near-term. One possibility is to use glmPQL as described in: Dormann, F. C., McPherson, J. M., Araújo, M. B., Bivand, R.,

[R] nls vs nlme: parameter constraints

2009-06-22 Thread Manuel Morales
Hello list, I'm trying to fit a model like beta[trt]/(1+alpha*x) where the data include some grouping factor. The problem is that the estimate for alpha is undefined for some of the treatments - any value greater than 20 is equally good and a step function would suffice. Ignoring the grouping

[R] Restrict AIC comparison to succesful models?

2009-06-11 Thread Manuel Morales
Hello list, I'm doing a bootstrap analysis where some models occasionally fail to converge. I'd like to automate the process of restricting AIC to the models that do converge. A contrived example of what I'd like to do is below: resp - c(1,1,2) pred - c(1,2,3) m1 - lm(resp~pred) m2 -

Re: [R] Re strict AIC comparison to succesful models?

2009-06-11 Thread Manuel Morales
On Thu, 2009-06-11 at 12:08 -0700, Ben Bolker wrote: Manuel Morales wrote: Hello list, I'm doing a bootstrap analysis where some models occasionally fail to converge. I'd like to automate the process of restricting AIC to the models that do converge. A contrived example of what

Re: [R] Re strict AIC comparison to succesful models?

2009-06-11 Thread Manuel Morales
On Thu, 2009-06-11 at 16:10 -0400, Ben Bolker wrote: Manuel Morales wrote: On Thu, 2009-06-11 at 12:08 -0700, Ben Bolker wrote: Manuel Morales wrote: Hello list, I'm doing a bootstrap analysis where some models occasionally fail to converge. I'd like to automate the process

Re: [R] sciplot question

2009-05-25 Thread Manuel Morales
for curiosity, any particular reason you chose standard error , and not confidence interval as the default (the naming of the plotting functions associates closer to the confidence interval ) error indication . - Jarle Bjørgeengen On May 24, 2009, at 3:02 , Manuel Morales wrote: You

Re: [R] sciplot question

2009-05-24 Thread Manuel Morales
You define your own function for the confidence intervals. The function needs to return the two values representing the upper and lower CI values. So: qt.fun - function(x) qt(p=.975,df=length(x)-1)*sd(x)/sqrt(length(x)) my.ci - function(x) c(mean(x)-qt.fun(x), mean(x)+qt.fun(x))

Re: [R] nls factor

2009-04-15 Thread Manuel Morales
A more compact way to code factors in nls is to use the syntax factor[]. Here's an example using a simplified version of Ravi's example: n - 200 set.seed(123) x - runif(n) a - gl(n=2, k=n/2) # a two-level factor eps - rnorm(n, sd=0.5) y - as.numeric(a) * x^.5 + eps nls(y ~ a[]*x^b,

Re: [R] nls factor

2009-04-15 Thread Manuel Morales
Oops! I made a mistake. Corrected below. On Wed, 2009-04-15 at 11:05 -0400, Manuel Morales wrote: A more compact way to code factors in nls is to use the syntax factor[]. Here's an example using a simplified version of Ravi's example: n - 200 set.seed(123) x - runif(n) a - gl(n=2, k=n/2

Re: [R] nls factor

2009-04-15 Thread Manuel Morales
On Wed, 2009-04-15 at 12:02 -0400, Michael A. Miller wrote: Manuel == Manuel Morales manuel.a.mora...@williams.edu writes: nls(y ~ a[fac]*x^b, start=list(a=c(1,1), b=0.25)) Did you mean a[f]? nls(y ~ a[f]*x^b, start=list(a=c(1,1), b=0.25)) Mike Argh!!! -- http

Re: [R] Problem with bargraph.CI in Sciplot package

2009-04-14 Thread Manuel Morales
On Sat, 2009-04-11 at 08:10 -0400, Manuel Morales wrote: On Fri, 2009-04-10 at 15:07 -0700, Metconnection wrote: Hi there, I wonder if anyone can help me. I'm trying to use bargraph.CI in the Sciplot package when there is a missing combination of the factor levels. Unfortunately

Re: [R] Problem with bargraph.CI in Sciplot package

2009-04-11 Thread Manuel Morales
On Fri, 2009-04-10 at 15:07 -0700, Metconnection wrote: Hi there, I wonder if anyone can help me. I'm trying to use bargraph.CI in the Sciplot package when there is a missing combination of the factor levels. Unfortunately the standard errors on the plot do not appear to be correct.

[R] Error in var(x, na.rm = na.rm) : no complete element pairs

2009-03-05 Thread Carlos Morales
Hello, I still have the same error which I have written in the Subject field, I leave here the code and I hope you can help me with this: filter.clones-function(zz.info,crom.info) { clones.info-zz.info cat(Removing clones which has a flag minor than 0\n) ord -

Re: [R] using par funtions in bargraph.CI()

2009-03-02 Thread Manuel Morales
On Mon, 2009-03-02 at 11:23 -0600, maxa0...@umn.edu wrote: I'm trying to create a bargraph of means with standard error bars using the function bargraph.CI (in the sciplot package). Like this: bargraph.CI(x.factor, response,data,xlab, ylab, par(family=serif),font=11) However, an error

[R] Installing archived package alongisde current one

2009-02-24 Thread Manuel Morales
Hi list, I'd like to install an archived version of lmer to compare results with the current version. I guess one way to do this would be to download the source, rename the package and then install it. Is there a better alternative? -- http://mutualism.williams.edu signature.asc Description:

[R] Error in var(x, na.rm = na.rm) : no complete element pairs

2009-02-22 Thread Carlos Morales
. Thanks so much from Spain Carlos Morales Diego __ R-help@r-project.org 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

[R] Error in var(x, na.rm = na.rm) : no complete element pairs

2009-02-22 Thread Carlos Morales
?. What can I do to fix it?. Thanks so much from Spain Carlos Morales Diego __ R-help@r-project.org 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

[R] Constraint in nls with factor in model?

2009-02-18 Thread Manuel Morales
Hi all, I'm trying to fit a model using the shorthand coeff[factor] instead of coding dummy variables. Is there a way to keep this notation when specifying constraints? See example below: x = runif(200) b0 = c(rep(0,100),runif(100)) b1 = 1 fac - as.factor(rep(c(0,1), each=100)) y =

[R] How to plot with different colours

2008-11-02 Thread Carlos Morales
many things but I don't achieve it. Any idea?. Thanks so much Carlos Morales Diego __ R-help@r-project.org 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] Plot means with error bars - A novice needs help

2008-10-08 Thread Manuel Morales
Another option is bargraph.CI or lineplot.CI from the package sciplot. See http://mutualism.williams.edu/sciplot for examples. On Tue, 2008-10-07 at 23:31 -0500, Michael Just wrote: Hello, I'd appreciate a suggestion on how to construct plots (barplots?) that use means on the Y axis instead

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread Manuel Morales
On Wed, 2008-10-08 at 12:01 -0500, Michael Just wrote: Thank you all for you suggestions. They are all helpful. However, I have come to a more fundamental problem. Preparing my data to even make such a graph. I thought I was ready. I will obviously need to find the n, mean, and confidence

Re: [R] Plot means with error bars - A novice needs help

2008-10-08 Thread Manuel Morales
On Wed, 2008-10-08 at 09:49 -0700, Dylan Beaudette wrote: On Wednesday 08 October 2008, Manuel Morales wrote: Another option is bargraph.CI or lineplot.CI from the package sciplot. See http://mutualism.williams.edu/sciplot for examples. On Tue, 2008-10-07 at 23:31 -0500, Michael Just

[R] Error in X11

2008-10-06 Thread Carlos Morales
Hello everyone, I'm trying to plot a graphic in Linux, when I type X11() then I have an error which is the next: Error in X11(d$display, d$width, d$height, d$pointsize, d$gamma, d$colortype,  :  unable to start device X11cairo   Why?, what I must do to fix it?. Thanks so much   Carlos

[R] Problem with read.table in Windows and Linux

2008-10-03 Thread Carlos Morales
Hello everyone, I'm trying to open the same file under Linux and Windows. Under Windows everything is ok but when I try to do it under Linux I have a mistake and I don't know why. This is the mistake: Error in make.names(col.names,unique=TRUE): string multibyte 1 invalid why? I write this

[R] Mode value

2008-09-06 Thread Carlos Morales
Hello everyone, I would like to know if there is any function to calculate the mode value, or I have to build one to do it. Thanks so much Carlos __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

Re: [R] lineplot.CI problem

2008-02-16 Thread Manuel Morales
Here's an updated version of lineplot.CI that will succeed even for cases where data are not present in all factor combinations. Also, this version has the option x.cont to specify that the x axis represents a continuous variable with proportional spacing. A new version of sciplot with these

Re: [R] lineplot.CI problem

2008-02-15 Thread Manuel Morales
On Fri, 2008-02-15 at 15:18 +0100, Dieter Vanderelst wrote: Hi List, I have a problem plotting data using the lineplot.CI command in the sciplot package. I want to plot the data of 2 experimental cases using different lines (traces). Time is on the X-axis. The tricky thing is that the

Re: [R] barplot or maybe related?

2008-02-11 Thread Manuel Morales
On Mon, 2008-02-11 at 09:31 -0800, questions? wrote: I have two distributions, represented by heights of several intervals. e.g. the distribution is partitioned into 10 segments, I have numbers(freq or counts) associated with each region in the format as: 0.2 0.3 0.1 0.1 . 0.01