Displaying 17 results from an estimated 17 matches similar to: "retrieve rows from frame assuming criterion"
2004 Jul 23
1
R: retrieve rows from frame assuming criterion [corrected]
sorry for my previus (WRONG)
answer, as someone already pointed out
a solution could be
subset(data, PUNTAR==c("IX49","IX48"))
> -----Messaggio originale-----
> Da: Guazzetti Stefano
> Inviato: venerd?? 23 luglio 2004 15.55
> A: 'Luis Rideau Cruz'; r-help at stat.math.ethz.ch
> Oggetto: R: [R] retrieve rows from frame assuming criterion
>
>
2004 Jul 23
0
retrieve rows from frame assuming criterion [corrected]
Still wrong:
> x <- data.frame(a = sample(letters[1:3], 10, replace=T), b=1:10)
> x
a b
1 a 1
2 a 2
3 b 3
4 b 4
5 a 5
6 a 6
7 b 7
8 b 8
9 b 9
10 c 10
> subset(x, a == c("b", "c"))
a b
3 b 3
7 b 7
9 b 9
10 c 10
> subset(x, a %in% c("b", "c"))
a b
3 b 3
4 b 4
7 b 7
8 b 8
9 b 9
10 c 10
What matters
2004 Jul 23
0
R: R: retrieve rows from frame assuming criterion [corrected]
Yes,
paraphrasing Murphy I can say of myself:
"Nothing seems to be able to stop a stupid thought
in its pathway from the brain to the keyboard". :-)
Sorry once again and thank for your patience.
Stefano
> -----Messaggio originale-----
> Da: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
> Inviato: venerd?? 23 luglio 2004 16.30
> A: Guazzetti Stefano
> Cc: Luis
2004 Aug 27
4
for (i in ...) { df[[i]]<- .....}
R-help,
In the following loop :
for(i in 1:8)
{
cc[[i]]<-tapply(test[,i+6],list(puntar=test$puntar),sum)/tapply(test[,5],list(puntar=test$puntar),sum)
cbind.data.frame(cc[[1]],cc[[2]],cc[[3]],cc[[4]],
cc[[5]],c[[6]],cc[[7]],cc[[8]])
}
Is there anyway I can 'cbind.data.frame' the objects cc[[ i ]] without
actually writing every single element??
In this case there are 8 but what if
2007 Aug 30
1
boxplot will remember the factor levels
R-help,
I'm trying to do a simple box-and-whisker plot to some data.
The data are a subset of a large data frame
but when running the "boxplot" function on the subset data
all the factors are still present in the graph leaving a huge
empty space until the actuals factors are shown.
This produces a spurious box-and-whisker plot.
If the subset data are exported to another R session
2015 Mar 26
2
Acceso gratuito durante un mes a la plataforma DataCamp...
Buenas a todos,
La gente de DataCamp se han puesto en contacto con el grupo de Madrid para
ofrecernos una oferta para usar gratuitamente su plataforma con diferentes
cursos de R durante un mes.
Les hemos preguntado si sería posible compartir este ofrecimiento con toda
la lista de R-Help-es y no ven mayor problema, les ha parecido muy bien la
posibilidad.
El link de acceso es el siguiente:
2014 Apr 01
3
problema con RStudio
Hola a todos,
Tengo un problema con RStudio y la conexión a una base de datos.
Desde la terminal no tengo problemas para ejecutar, por ejemplo:
library(RODBC)
channel <- odbcConnect("MiBaseDatos", uid = "MiUsuario", pwd =
"MiContrasena")
datos <- sqlQuery(channel,"SELECT TO_CHAR(S.B_STOD_DATO,'YYYY') \
, M.STODNR \
...
...
...")
pero desde
2014 Apr 01
2
problema con RStudio
Carlos,
al parecer tengo instalado el paquete RODBC en :
/home/luisr/R/i686-pc-linux-gnu-library/3.0/RODBC/
no hay nada en (carpeta vacia):
/usr/local/lib/R/site-library/
en el directorio:
/usr/local/lib/R/site-library
hay paquetes que vienen con R pero RODBC no
saludos,
Luis
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
Luis Ridao Cruz
Faroe Marine Research Institute
Nóatún 1,
2014 Apr 01
3
problema con RStudio
No, no estoy usando Rstudio Server
El 1 de abril de 2014, 9:07, Carlos J. Gil Bellosta
<cgb@datanalytics.com>escribió:
> Una pregunta... no estarás utilizando RStudio server, ¿verdad?
>
> En tal caso, lo que tienes que hacer es configurar
> /etc/rstudio/rstudio.conf tal como indica en
>
> http://www.rstudio.com/ide/docs/server/configuration
>
> En particular,
2014 Apr 01
2
problema con RStudio
Hola, ¿qué tal?
¿Puedes comparar la salida del comando
Sys.getenv("LD_LIBRARY_PATH")
en una sesión en la que funciona RODBC y otra en la que obtienes el
error anterior?
Un saludo,
Carlos J. Gil Bellosta
http://www.datanalytics.com
P.D.: A propósito, también he estado tratando de utilizar RODBC en
Linux y me he acabado rindiendo. Sobre todo porque RJDBC funciona
bastante bien.
2014 Apr 01
2
problema con RStudio
Pues ahí lo tienes.
De alguna manera R (a través de RStudio) no está incorporando el directorio
/u01/app/luisr/product/11.1.0/client_1/lib
donde se ve que tienes las librerías de ODBC al "LD path". Échale un vistazo a
https://support.rstudio.com/hc/communities/public/questions/200641818-How-to-configure-libPaths-?locale=en-us
Aparentemente RStudio tiene su propio sistema para
2012 Oct 01
1
help configuring netboot over remote serial terminal
Hi Folks,
I'm trying to install Debian onto a headless server (Supermicro
X8SIE-LN4F motherboard). The on-board IPMI BMC redirects the serial
port to COM3, and I can talk to it just fine over a remote console
connection.
I've been trying to install Debian remotely, and have the DHCP and TFTP
servers working, and things seem to work (at least into the Splash
screen) if I'm using
2006 Feb 08
1
odd 'digital' sound artifacts
Hi,
I've got some weird sound artifacts happening during calls, they're very
hard to describe, so I have a 122kb recording:
http://openprojects.rarcoa.com/~miztic/artifact.wav
normally the artifacts are just short blips, not quite as long as the
one above, but they sound the same.
When using the aggressive echo suppressor, it seems like those artifacts
cause a really loud buzzing sound to
2006 Jan 03
1
Summary functions to dataframe
I have written a few different summary functions. I want to calculate
the statistics by groups and I am having trouble getting the output as a
dataframe. I have attached one example with a small dataset that
calculates summary stats and percentiles, I have others that calculate
upper confidence limits etc. I would like the output to be converted to
a dataframe with one of the columns as the
2019 Mar 26
1
IMAP coredumps for one user
FreeBSD-12
Dovecot-2.3.5
I am having problems with one use
Mar 25 21:30:12 imap(gau.mon at crownkenya.com)<91364><U7qCZO+ECfCaRh6E>:
Fatal: master: service(imap): child 91364 killed with signal 6 (core dumped)
Mar 25 21:30:14 imap(gau.mon at crownkenya.com)<2381><moHYZO+EDvCaRh6E>:
Fatal: master: service(imap): child 2381 killed with signal 6 (core dumped)
Mar 26 06:29:26
2012 May 17
3
Samba compilation issue
On 05/17/12 11:15, prabu.murugan at emc.com wrote:
>
> Hi,
>
> As a security concern we are upgrading samba to 3.4.17.
>
> I tried all possible option to compile samba 3.4.17 on Solaris 10_U10.
> But it is not going through.
>
>
>
> User requirement is to compile samba 3.4.17 to support their
> application. 3.4.17 is working on Solaris 9 and Solaris 10_U5. But
2013 May 23
2
[Announce] Samba 4.0.6 Available for Download : crash of winbind after ls -la ...sysvol
Hi all,
with this version, as in 4.0.5, i have always the windbind crash after
wbinfo --uid-info 3000000
or
ls -la sysvol/
my system 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2+deb7u2 x86_64 GNU/Linux
I already post here some information (no problem with 4.0.4, found last stable patch with bisect), could someone help me ?
thanks and regards
philippe
> -----Original Message-----
>