similar to: Conditional subsetting

Displaying 15 results from an estimated 15 matches similar to: "Conditional subsetting"

2016 May 17
2
buscar y reemplazar tabs dentro de un archivo
Estimado Eric Las filas que faltan, ¿son filas enteras, donde todo es valor NA o ?? en un data.frame? Porque si es así podrías importar todo y luego buscar (filtrar) los que no son NA. Copio y pego un código que utilizo en un trabajo, posiblemente le sea útil. Tratamientos$Tratamiento[Tratamientos$Tratamiento == ""] <- NA # asignar NA a las celdas vacías Tratamientos<-
2012 Jan 19
8
sumarizar
*Hola!!! resulta que tengo unos datos de divisas ordenados por fechas (días) los que he convertido a formato tipo YYYY-MM-DD donde DD siempre es 01:* * * * EUR.resto$date<-as.Date(EUR.resto$date) EUR.resto$mo <- substr(EUR.resto$date,6,7) EUR.resto$yr <- substr(EUR.resto$date, 1,4)
2012 Aug 28
17
Tilde en RStudio
Estimados miembros de la lista, Cómo hago para trabajar con tildes en RStudio. En concreto, cuando cargo un archivo .txt o .csv en RStudio, no me reconoce el tilde com tal y me coloca otros caracteres en su lugar. ¿Existe alguna solución? Saludos, Manuel -- *Manuel Spínola, Ph.D.* Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000
2012 Jan 25
4
Media en subgrupos de grupos
Un saludo a todos. Es posible que con el asunto no quede claro lo que quiero. Para eso añado una captura. Dispongo de 3 variables (dos discretas y una continua) y me interesaría sacar la media tanto del grupo como de los subgrupos. Esta creo que es la segunda vez que escribo preguntando algo parecido. En la primera me hablasteis de tapply, pero con este comando sólo sé obtener la media de una de
2006 Nov 26
1
GLM and LM singularities
Hi- I'm wrestling with some of my data apparently not being called into a GLM or an LM. I'm looking at factors affecting fish annual catch rates (ie. CPUE) over 30 years. Two of the factors I'm using are sea surface temperature and sea surface temperature anomaly. A small sample of my data is below: CPUE Year Vessel_ID Base_Port Boat_Lgth Planing SST Anomaly 0.127
2007 May 03
2
Install SciView under Windows Vista
Hello- I have been trying to install SciView under Windows Vista (Home Premium version, 32 bit OS, Intel Core Duo 2.13GHz, 2Gig RAM). I am getting an error, apparently related to the R2HTML package (version 1.54) as you will see in the R information below my signature. I have tried to email directly to support@sciviews.org for support but have had my message returned as undeliverable. Your help
2007 Aug 20
1
polar.plot orientation and scale in plotrix
Hello all- I would like to orient my polar.plot (from package plotrix) so that the circular scale runs clockwise and the origin (ie. 0 degrees) starts at the top of the plot. The defaults of running the scale counter-clockwise and beginning with 90 degrees at the top of the graph seems counter-intuitive to me. I'm using R 2.5.0, and plotrix version 2.2-4. Many thanks, Tim
2006 Nov 05
1
Defining factors in GLM
I've a set of data to run a GLM on and am having trouble defining the categorical variables. For example, one of my variables is Year (ie. 1998, 1999). How do I define those years as factors/categorical variables? Cheers, Tim [[alternative HTML version deleted]]
2008 Dec 28
2
Conditional operation on multiple columns from two data frames
Hi- I have two data frames for which I wish to conditionally subtract the values of one dataframe from the other. I want to subtract df1$x from df2$x when their id is equal and the absolute value of difference between the dates is 12 hours or less. If there is no match of equal id's and dates less than 12 hours apart I want it to return "NA". Note that df1 has missing values in x
2003 Aug 22
0
[ANNOUNCE] netfilter.org systems downtime
--GYkYyJI7bObpCn+O Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! Due to an unfortunate event [*] the main netfilter.org system had become unavailable from Aug 19 to Aug 22. =20 The long downtime was caused by the netfilter developer workshop, which distracted the netfilter developers from doing any system administration.
2005 Mar 03
0
I have met a message : "No one is available to answer at this time".
Hello, Users. I loaded module chan_h323.so, chan_vpb.so. I have met a message : "No one is available to answer at this time". I don?t know what I do.. My 'h.323 trace 5' result is : == vpb/1-8: Starting record mode (codec=0)[AST_FORMAT_SLINEAR:VPB_LINEAR] -- Executing Dial("vpb/1-8", "h323/192.168.1.107") in new stack 1:21:34.936 ThreadID=0x06f2bbb0
2009 Apr 14
3
scatterplot3d
Dear R-help, I am having trouble with your scatterplot3d program. For help with this problem I was directed to your address by Martin Maechler at " r-core-bounces at r-project.org." I'm also sending a CC to " r-core-owner at r-project.org" as I'm not yet certain of the proper address to use for this. I have R version 2.8.1 and have downloaded 'scatterplot3d.'
2010 Aug 18
13
Poor creat/delete files performance
Hi, We did some performance test and found the create/delete files performance of btrfs is very poor. The test is that we create 50000 files and measure the file-create time first, and then delete these 50000 files and measure the file-delete time. (The attached file is the reproduce program) The result is following: (Unit: second) Create file performance BtrFS Ext4 Total times:
2008 Jan 11
0
freebsd-security Digest, Vol 236, Issue 1
-----Original Message----- From: owner-freebsd-security@freebsd.org [mailto:owner-freebsd-security@freebsd.org] On Behalf Of freebsd-security-request@freebsd.org Sent: Friday, January 11, 2008 3:00 PM To: freebsd-security@freebsd.org Subject: freebsd-security Digest, Vol 236, Issue 1 Send freebsd-security mailing list submissions to freebsd-security@freebsd.org To subscribe or unsubscribe via
2008 Jan 10
2
ident daemon: oIdentd creating a lot of processes
hi! all, i'm using oidentd-2.0.8 installed through /usr/ports/security/oidentd for ident authentication what puzzled me is when im starting the daemon using the script provided at /usr/local/etc/rc.d/oidentd.sh it will create a lot of process ID and my system will become slow CPU resources will turn upside down rapidly from 90+% idle to always 0% idle this is the PIDs while querying daemon