similar to: Coding a new variable based on criteria in a dataset

Displaying 20 results from an estimated 3000 matches similar to: "Coding a new variable based on criteria in a dataset"

2010 Jun 26
7
Calculating Summaries for each level of a Categorical variable
Hi, I have a dataset which has a categorical variable "R",a count variable C (integer) and 4 or more numeric variables (A,T,W,H - integers) containing measures for "R". I would like to summarize each level of the variable R by the average for A,T,W and H. I have written a function to calculate weighted averages using C as the weight and this is given below. The function
2010 Jul 05
4
Data Labels in a barchart (Lattice or otherwise)
Hi, Can anyone please help me with how I could add labels with the value for each bar in a barchart? (similar to how data labels can be added in Excel) I have done a lot of searching but havent been lucky. Thanks, Raoul -- View this message in context: http://r.789695.n4.nabble.com/Data-Labels-in-a-barchart-Lattice-or-otherwise-tp2278027p2278027.html Sent from the R help mailing list archive at
2010 Oct 03
1
Help with panel.text in Lattice - Putting labels for co-oridnates in a plot
Hi, I am trying to create a Lattice dotplot that has the following data graphed. I need to put labels for each of the co-oridnates on the plot. I have managed to get only one label dispalyed as I don't completely understand the "panel.text" function. Can someone please help me? # Sub Reason is a text field that I need to see the volumes for (Vols)
2005 Mar 14
4
How to Flash() a modem line
Hello! I'd like to Flash() a modem line (BRI) with Asterisk. It is a passive ISDN-card connected to a hardware PBX. I use ISDN4Linux. I recognised that unfortunately the Flash() application flashes Zap devices only. Now I am wondering how I could flash Modem/ttyI0. The source code chan_modem.c doesn't contain anything about flashing a modem line. So I tried to simply put the AT-command
2006 Apr 27
1
Snom 320 HOLD and TRANSFER not detected
I have a preoblem with my snom 320 phones. I have 5 snom phones installed and all of them have 5.2 firmware. All have same settings in the advanced panel. On 2 phones when I press the hold or transfer key nothing happens and * does not start the musiconhold. In the The hold and transfer keys are set as F_R and F_TRANSFER correctly as the others. Other snoms and gxp-2000 work ok. Any ideas?
2003 Oct 07
1
(PR#4450)
Hello, When I use det() and qr() on complex matrices the result is in some cases indeterministic. The documentation speaks of numeric matrices (and not of complex matrices) but det() uses qr() which should handle complex matrices correctly. I've also tried using only qr() with similar results. det() returns a value that is not the determinant of the complex matrix (in accordance with
2005 Mar 08
1
Dial() out and offer a menu system
Hello all! I'd like my * to call out to somebody and offer the called party a menu system. Everything should just be as if the called party had initiated the call themselves. This is my try: exten => 100,1,Dial(Modem/g1:0555321) exten => 100,2,Goto(mainmenu,s,1) This doesn't really work, because the Dial cmd blocks further execution until the called party hangs up. Next try:
2000 Oct 01
1
barplots with standard deviation
Hello! I'd like to print certain kinds of diagrams with R. They should look like barplots with besides=TRUE, but also have the variance or standard deviation on every bar so that one could better compare the bars. How could I apply this? thanks for your help Raoul -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2009 Aug 12
1
Map of UK Counties - to use in R
Hi, Can anyone help me with either of these: 1) Map of the UK counties that I could use in R? 2) How could I use an existing map for example, a map from here http://www.itraveluk.co.uk/maps/england.html - in R. I need to use a UK map to plot locations on it by lat & long. Would appreciate help on any of these. Thanks, Raoul -- View this message in context:
2009 Aug 31
1
RE xcel - two problems - Running RExcel & Working Directory error
Hi, I am using RExcel both at work and at home and am facing a couple of challenges. The one at home is that when using RExcel and trying to run any code that involves changing the working directory, I get the following error. Error in command: setwd("C:\\Raoul\\R\\R Maps_UK Maps_Test\\NUTS_03M_2006_SH\\shape\\data")\n cannot change working directory The one at office is more
2012 Apr 26
2
Is there a way for telling libvirt to auto define an xml under /etc/libvirt/qemu?
Hi everybody, like in the subject: is there a way for telling libvirt to auto define an xml under /etc/libvirt/qemu? I mean, sometimes it happens to have the /etc/libvirt/qemu shared between nodes, say with a NFS share, since I can set a new xml on a node and I want o see the virtual machine on all the others, is there a way to automate this or am I obligated to launch virsh define <xml> on
2006 Dec 07
4
Introduce and noob problem require ''wx''
Dear All, my name is Raoul, this is the first time I post here. I''m a computer scientis and I''m working in bioinformatic''s filed, we have a lot of tools to analyse the data but no good graphic applications to visualize them. So I''m looking for a good framework for my job. I think your motivations on using wxruby are good, most important for me is the
2011 Jun 05
1
tag \href not recognised in rd doc
Hi, I have a trouble trying to use \href in a rd doc. See example below: \references{ \href{http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2702787/}{Vaniscotte A., Pleydell D., Raoul F., Quere J.P., Coeurdassier M., Delattre P., Li T., Qian W., Takahashi K., Weidmann J.C., Qiu J., Giraudoux P. 2009 Modelling and spatial discrimination of small mammal assemblages: an example from western
2005 Jul 10
1
acces to samba share failed
Hello Group, I've newly installed samba 3.01 on my two Debian systems. It seems to be running well because: meyer@ws1: smbclient -NL localhost Domain=[PRIVATELAN] OS=[Unix] Server=[Samba 3.0.14a-Debian] Sharename Type Comment --------- ---- ------- Data Disk U: Private Daten Programme Disk P: F_r SW
2006 Apr 01
2
chan-capi: Sending digits on a bri (isdn) d-channel
Dear asterisk users! I want to control a hardware pbx with asterisk. What I need to do this is being able to press "hold" which can be done with capicommand(hold) and then send digits on a bri card which connects to my asterisk computer. So far I use Dial(CAPI/ISDN1/27:<<digits>>/bo,15) to do this. Are there better ways? Note that these are not dtmf, I'm afraid. I use
2011 Jun 01
1
Replacing variables in one dataset with those from another
Hoping someone out there can help me...this seems like an easy task but I can't figure it out... I want to replace variables in one dataset (Dataset1) with a variable from another dataset (Dataset2). All the values for variables x1 and x2 in Dataset1 have a unique match to the variable uniquenum in Dataset2. For example, in Dataset1 grpnum A has a value of 343 for variable x1. In Dataset2,
2010 Jun 13
0
Weighted Average application on Summary Dataset
Hi, I have 2 huge datasets - May and Jun - a miniscule sample of one is given below. I am trying to do 2 things with these datasets. I need to verify if the weighted average of variable A for a Reason in Jun is same/different from the same for May. To do this I am first computing the weighted average for each SubReason using a function I wrote. Where I need help is applying the function on both
2006 Oct 31
1
Asterisk does not bridge zap channels on outgoing calls
Hello... I have a big problem with asterisk. Every time i make a call asterisk does not bridge the zap channels. The zap channel from which i'm calling remains in state:ring and applicaton:dial and the zap channel with the external line configured remains in state:dialling an Application:AppDial. Zap/20-1 agentie s 1 Dialing AppDial (Outgoing Line) 09399 (None) Zap/9-1 int_omg 09399 5 Ring
2010 Sep 14
9
Random File Name
Hi, Im looking at using MixMonitor to record calls and I know that I need to set the filename first. However, with the number of calls coming in, hard coding the filename isnt an option. So I need to do something like this:- MixMonitor(RANDOMNUMBER.wav) But can't find a way to generate a random number. I thought that maybe I could use a unique variable that already exists for the current
2013 Jun 03
1
Is uniqueid/sequence a safe CDR table primary key ?
Hi, When dealing with CDR SQL tables, I always added an auto-incremented cdr_id key as a primary key, just in case provided uniqueid key went wrong. Now I'm facing a situation where I need to insert into a database's table and from the dialplan, a reference to the CDR record which is currently processed. So my questions are: 1. Can uniqueid/sequence (or uniqueid/sequence/calldate)