similar to: R: R: retrieve rows from frame assuming criterion [corrected]

Displaying 20 results from an estimated 900 matches similar to: "R: R: retrieve rows from frame assuming criterion [corrected]"

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
2
retrieve rows from frame assuming criterion
Hi all, I have a data frame in which one column(PUNTAR) is of character type. What I want is to retrieve is the frame but only with those rows matching elements of PUNTAR with a list characters (e.g c("IX49","IX48") ) Year TUR STODNR PUNTAR 1994 9412 94020061 IX49 1994 9412 94020062 IX48 1994 9412 94020063 X32 1994 9412 94020065 X23 1994 9412
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
2013 Jul 09
0
R: Small fixes needed for Riello driver
Hi Charles, I fixed (and tested) the source file according to your tips. The patch are attached. Let me know if there still something that do not reflect your guidelines. Elio Parisi Centro Ricerche RPS SpA Viale Europa, 7 37045 Legnago VR Tel. +39 0442 635811 Fax. +39 0442 635934 Skype Id: - Voip: E-mail: E.Parisi at riello-ups.com Web: www.riello-ups.com
2013 Jul 05
0
R: Small fixes needed for Riello driver
But the diff file that I'll now produce is related to the 3857 revision, so is also inclusive of previous changes (i.e. BYTE to uint8_t). Is it Ok for you? In alternatively could you modify the row (166 of riello_ser.c) of the file deleting the only cast that exist? Elio Parisi Centro Ricerche RPS SpA Viale Europa, 7 37045 Legnago VR Tel. +39 0442 635811 Fax. +39 0442 635934 Skype Id:
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
2005 Jan 12
0
RODBC package -- sqlQuery(channel,.....,nullstring=0)stillgives NA's
(1) I do read the posting guide (the fact that I missread o missunderstood something does not imply not reading) (2) I could change NAs to 0 (I know) but I have previously (older versions of R and SQL*Plus) used the same select with the "right" output (namely with 0s). (3) AFAIK "strange" is not a negative remark and does not seem to me at the very least but that is always a
2004 Nov 26
1
unexpected behaviour of 'curve' function
Dear all, curve(x^3*(1-x)^7, from = 0, to = 1) works as expected but, omitting the "xlim" or the "to" and "from" arguments and calling "curve" more than once: par(mfrow = c(2,2)) for (i in 1:4) curve(x^3*(1-x)^7) gives an expected (al least to me) result. Note also that a "pu" object is returned by curve > pu [1] -0.1802445 1.1802445
2006 Jul 28
3
Where to see a printer...
I installed a printer, HP DeskJet 6122, which has no Ethernet device inside. In Windows, I use a local port with address \\darkstar\hp6122. The printer work, but I can see it only in Windows menu "Fax and Printers", not in the share resource of Samba, even if I set my smb.conf with "load printers" and, in [printers]. "browseable = yes" Is it all ok? Thanx M. --
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:
2005 Jan 12
1
RODBC package -- sqlQuery(channel,.....,nullstring=0) stillgives NA's
There is something strange in R behaviour (perhaps). I have run the same select in Oracle SQL*Plus (version 10.1.0.2.0) and the output comes out with NULLs (which is what it ougth to be). But in R I still get the same result with NAs (no matter I use na.strings or nullstring arguments) An output example follows below: Using na.string="0" and nullstring="0" (sorry by the
2002 Jul 25
1
R: High CPU utilization with samba2.2.5 on HPUX 11.00
Note that the problem arises only by scanning subdirectories with a large number of files ( 3.000 files and more ). -----Messaggio originale----- Da: Usai, Maria Grazia Inviato: gioved? 25 luglio 2002 11.11 A: samba@lists.samba.org Oggetto: [Samba] High CPU utilization with samba2.2.5 on HPUX 11.00 Hello, I need some help for a strange problem. I have an HP L2000 server ( 2 CPU and 2 GB RAM
2006 Aug 25
1
Problems with APC Smart-UPS 1500 USB and, newhidups
Great! Please let the mailing list know if you run into any further problems. -- Peter Paolo Pedroni wrote: > > Alle 16:38, venerd=EC 25 agosto 2006, hai scritto: > > Paolo, > > > > I recently fixed some bugs regarding the report descriptor retrieval. > > Please try it with the newest development version from SVN. You can > > follow the instructions at >
2006 May 04
0
R: R: [Re:] function to replace missing values with median value?]]
oops!, I pressed the 'send' key too soon, ... see ?replace replace(x, is.na(x), median(x, na.rm=T)) take also a look at the function itself > replace function (x, list, values) { x[list] <- values x } <environment: namespace:base> Stefano >-----Messaggio originale----- >Da: r-help-bounces at stat.math.ethz.ch >[mailto:r-help-bounces at
2011 Jul 29
1
[LLVMdev] Is using lots of in-register values in IR bad?
Nella citazione venerdì 29 luglio 2011 11:24:47, Duncan Sands ha scritto: > In-register structs and arrays are not intended to be used for large structs and > arrays. Out of curiosity, why would that be the case? -- Carlo Alberto Ferraris <cafxx at strayorange.com <mailto:cafxx at strayorange.com>> website/blog <http://cafxx.strayorange.com> - +39 333 7643 235
2004 Jul 16
1
Using Asterisk with fiber optic
Hi, I'd like to use PSTN and analogic telephone with a Asterisk server which works on a LAN connected to the outside with fiber optic, on which voice stream passes too. Do I need some particular solution, some particular card to make it works or I just need a Digium or similar fxo card? Thanks, Bob __________________________________________________________________ Tiscali ADSL Senza Canone,
2004 Jul 21
1
Digium card x100p
hi, i've a question. is it possible to buy digium x100p card from italy in some store (also online) without ordering it from USA? on more, did anyone buy a modem with intel chipset 537 or md3200 and where (in italy)? Thanks __________________________________________________________________ Tiscali ADSL Senza Canone, paga solo quello che consumi! Non perdere la promozione valida fino al 27
2006 Jul 25
1
LVM use for Xen
Hi. I''m going to install a testing machine with Xen on Debian Sarge. I wish to use LVM to partition the hard disk to be able to resize LVM partitions to create new partitions for new domU when I will create new ones. How I can configure LVM at Debian installation to obtain this? Could you advise me a partitioning scheme, please? Thank you very much and goodbye! Luca.
2004 Jun 16
1
Fwd: problem in long select from RODBC
Luis Ridao Cruz Fiskiranns?knarstovan N?at?n 1 P.O. Box 3051 FR-110 T?rshavn Faroe Islands Phone: +298 353900 Phone(direct): +298 353912 Mobile: +298 580800 Fax: +298 353901 E-mail: luisr at frs.fo Web: www.frs.fo -------------- next part -------------- An embedded message was scrubbed... From: "Luis Rideau Cruz"