Displaying 20 results from an estimated 200 matches similar to: "comportamiento de data.table al hacer calculos por grupos"
2015 May 15
2
comportamiento de data.table al hacer calculos por grupos
Muchas gracias Freddy y Carlos ... estuve intentando con .() y con
list(), para calcular la media y el error estandar al mismo tiempo en
dos columnas, pero me arrojaba un error que no supe interpretar.
Ahora ya funciona como sugiere Carlos.
Muchas gracias de nuevo.
Saludos, Eric.
On 14/05/15 19:28, Carlos Ortega wrote:
> Hola,
>
> La forma de hacerlo con data.table es esta:
>
2013 Aug 09
1
Agrupar los terminos de la leyenda
Bueno, una pequeña vuelta de tuerca más usando ggplot.. Aunque no quedó tan limpio como el de Carlos (gran resolucion) tambien te sirve.
Un saludo
library(ggplot2)
dec.df <- mat[mat$sol=="dec",]
lim.df <- mat[mat$sol=="lim",]
dol.df <- mat[mat$sol=="dol",]
dec.dr<-qplot(dia,V5,sol,data=dec.df,color=con2,geom=c("line"),facets=.~sol)
lim.dr
2013 Jul 12
3
Eliminar filas que cumplen con mas de un criterios simultaneamente ...
Estimada comunidad, tengo el siguiente problema:
Un data.frame con muchas filas de las que debo eliminar aquellas que
cumplen varios criterios al mismo tiempo. Por ejemplo este data.frame:
sol con dia NCar NIns isom area rep tipo
1 con 0.001 1 160s 0 s 6.083543e-01 1
2 con 0.001 1 161c 1 c 1.391274e-03 1 <NA>
3 con 0.001 1 161c 1 c
2013 Nov 16
1
Problema con el titulo de la leyenda en grafico con xyplot
Estimados, tengo un grafico al que debo anexar la leyenda en el costado
derecho. Mi problema es que el titulo de la leyenda debe decir
"Concentration (mM)" el que es muy largo y la ultima M sale cortada. No
puedo abreviar la palabra porque justamente me rechazaron el grafico por
que estaba abreviada esa palabra.
Aqui pego el codigo con el que se hacen los graficos y anexo un archivo
2013 Aug 07
0
Agrupar los terminos de la leyenda
Hola,
Aunque un poco más elaborado, el resultado me parece más limpio (adjunto
gráfico).
He utilizado gran parte del código de "pepecb".
Por otro lado (Neo) es recomendable que cuando incluyas una duda en la
lista des también referencia de su sesión (comando de R: sesionInfo). La
función que usas "xYplot()" es del paquete "Hmisc" y aunque está basada en
el paquete
2019 Nov 12
1
postfix + spamassassin + dovecot-lda (with sieve support)
Hello,
I have FreeBSD 12 server with postfix + spamassassin. Old config work
fine.
------ old postfix master.cf
spamfilter unix - n n - - pipe
flags=R user=nobody argv=/usr/local/bin/spamc -e /usr/sbin/sendmail -oi
-f ${sender} ${recipient}
------
I try to add dovecot-lda (with sieve support) as local delivery agent to
postfix config
----------- postfix master.cf
# Spamd filter
spamfilter
2003 Oct 21
0
[Fwd: accessing shares]
John: I wanted to add that I have no problem logging into the samba
server with a domain account, as long as it's not through KDE. The first
time error's out complaining about DCOPServer and not being able to
write to the home directory....don't know if this is relevant.
My experience is very limited on Unix and Samba. Please forgive me if
the answer is right in front of me.
2003 Oct 21
2
accessing shares
My experience is very limited on Unix and Samba. Please forgive me if
the answer is right in front of me.
Problems accessing shares on my Samba 3.0.1pre1 running on Gentoo1.4
I'm stuck big time! I've been trying to figure out why I cannot access
shares. The only share I can currently read & write to is:
[OpenShare]
comment = Temporary file space
path = /tmp
2006 Apr 27
2
summary(lm(x~y)) difference between R-2.2.1 and R-2.3.0
Hi
[macOSX 10.4.6; R-2.3.0]
I have encountered a difference in behaviour between R-2.2.1 and
R-2.3.0 when
performing a linear model. Transcript follows for R-2.3.0 (R-2.2.1
worked as
expected). How to make R-2.3.0 perform as R-2.2.1 did?
> dput(x)
c(29.13, 29.88, 30.09, 29.99, 29.74, 29.64, 29.65, 29.7, 30.04,
29.89, 29.96, 29.65, 28.76, 28.41, 28.38, 29.55, 29.76, 29.75,
29.84,
2011 May 16
2
wireframe advice - with reproducible code
Dear List,
i am trying to produce a 3d plot using wireframe using the code:
wireframe(Residuals_FD ~ Elevation * Temperature, data = data2, scales = list(arrows = FALSE), drape = TRUE, colorkey = TRUE)
As you can see when the code (using the data below) is run the plot area is set-up correctly but the actual surface is missing?
Any help would be greatly appreciated.
Chris
#data
Elevation
2011 Nov 29
2
aggregate syntax for grouped column means
I am calculating the mean of each column grouped by the variable 'id'.
I do this using aggregate, data.table, and plyr. My aggregate results
do not match the other two, and I am trying to figure out what is
incorrect with my syntax. Any suggestions? Thanks.
Here is the data.
myData <- structure(list(var1 = c(31.59, 32.21, 31.78, 31.34, 31.61, 31.61,
30.59, 30.84, 30.98, 30.79, 30.79,
2014 Sep 01
1
Correlation Matrix with a Covariate
R Help -
I'm trying to run a correlation matrix with a covariate of "age" and will
at some point will also want to covary other variables concurrently.
I'm using the "psych" package and have tried other methods such as writing
a loop to extract semi-partial correlations, but it does not seem to be
working. How can I accomplish this?
library(psych)
> set.cor(y =
2004 May 20
1
conflicting domain SIDS
I would like to migrate users into my Samba3 server. Problem is I have
a sambaDomainSID that conflicts with my Windows domain SID. My backend
is LDAP. I'm not sure what to delete so I can get my SambaDomainSid in
sync with Windows domain SID and start migrating users.
Thanks!
TJ
------------------------
Cannot import users from LABOR at this time, as the current domain:
2013 Sep 04
5
Stack de un data.frame
Estimada comunidad, voy a describir lo que necesito hacer y no he
encontrado como, pues no se si hay funciones en R para esto.
Tengo la siguiente tabla de doble entrada que obtuve con la funcion CAST:
sol 1 2 3 4 5
1 con 0.00259587 NaN NaN 0.001905260 NaN
2 dec NaN 0.002719438 NaN 0.002339808 0.002970884
3
2013 Sep 04
0
Stack de un data.frame
Hola, ¿qué tal?
Creo que las funciones melt (particularmente) y cast del paquete
reshape te pueden ayudar.
Con melt podrías transformar tu df en algo con el aspecto
sol col valor
con 1 0.000...
con 2 NaN
...
Un saludo,
Carlos J. Gil Bellosta
http://www.datanalytics.com
El día 4 de septiembre de 2013 22:35, neo <ericconchamunoz en gmail.com> escribió:
> Estimada
2000 Jan 14
0
Q: Solaris, two interfaces, outgoing smb fed throug 'wrong' interface!
Hello!
Problem:
Outbound data goes through default interface instead of specified,
causing congestion.
Question:
How can I instruct samba to tell Solaris to SEND data through specified
network interface?
Detailed:
I have a solaris filesserver with two network interfaces, hme0 and hme1.
I'd like NFS to use hme0 and smb hme1. I intsruct samba to only listen
for connections on the
2006 Oct 31
0
6268990 cmd/csh and gcc don''t get along
Author: muffin
Repository: /hg/zfs-crypto/gate
Revision: 1185b1416f2a1ca60093f12914f451ade7de8d43
Log message:
6268990 cmd/csh and gcc don''t get along
Files:
create: deleted_files/usr/src/cmd/csh/stubs.c
delete: usr/src/cmd/csh/stubs.c
update: usr/src/cmd/csh/Makefile
update: usr/src/cmd/csh/csh.xcl
update: usr/src/cmd/csh/i386/Makefile
update: usr/src/cmd/csh/i386/signal.c
2013 Apr 17
0
Package VIF
Hi
Could you perhaps possibly help me. I would like to use the package
VIF but cannot get results
I attach the .csv file and my R code. What do I have to do ? Any help
is greatly appreciated.
library(VIF)
coal <- read.csv("e:/freekvif/cqa1.csv",header=TRUE)
y <- as.numeric(coal$AI)
x <- as.matrix(cbind(coal$Gyp, coal$Pyrite, coal$Sid, coal$Calcite,
coal$Dol,
2014 Oct 28
2
como pasar de data.frame -> cast -> data.frame
Gracias Olivier por tu sugerencia ... uso "cast" porque me permite hacer
facilmente algunas operaciones con los datos antes de graficarlos, por
ejemplo, calcular el promedio de los datos que cumplan un conjunto de
condiciones. Por ejemplo, graficar el promedio de la variable "are" que
cumplan:
sol=="dol" , dia==1, con==5
y asi ... tambien lo hacia de otra forma q
2002 Apr 02
2
rsync 2.3.2 with --copy-unsafe-links work badly
Hello,
I try use rsync from Debian 2.2 (rsync 2.3.2) to mirror Debian
distribution tree.
in tree is directories
dists/potato/main/binary-all/
dists/potato/main/binary-i386/
pool/
In directory dists/potato/main/binary-i386/ is some files symbolic links
to ../binary-all/ and some links to ../../../../pool/
In mirror I want preserve links to binary-all/ and copy as files links
to pool/. I try