similar to: recoding a data in different way: please help

Displaying 20 results from an estimated 300 matches similar to: "recoding a data in different way: please help"

2017 Nov 18
2
family
Hi all, I am reading a huge data set(12M rows) that contains family information, Offspring, Parent1 and Parent2 Parent1 and parent2 should be in the first column as an offspring before their offspring information. Their parent information (parent1 and parent2) should be set to zero, if unknown. Also the first column should be unique. Here is my sample data set and desired output. fam
2011 May 23
6
How do I assign boolean (o,1) values to a column?
Hi everybody!! I'm trying to assign boolean values to a column in a matrix depending on the number of times present in another column. I have no clue, I have been 2 days looking for a way, if somebody knows what kind of functions I need to use I will really apreciate it. example: Color Type Mark1 Mark2 Mark3 Red high 139 P alpha blue low 140 P alpha Green high
2007 Aug 09
7
Integrating polymorphic models into controllers views? how?
I''m having trouble trying to get this to work. How the heck do you get a polymorphic controller to work? Especially integrating it with a view? Let''s say that we have shows, and episodes, then comments. A show has many episodes, an episode has many comments. the route is /shows/1/episodes/1/ Now to add a comment to that episode, how would I do it? Let''s say that the
2006 Mar 22
10
Need for multiple acts_as_list
I have a model "Childmodel" that belongs_to two other models "Parent1" and "Parent2". "Parent1" "has_many :childmodels, :order => :positionp1" and "Parent2" "has_many :childmodels, :order => :positionp2". i.e. The child is independently positioned within each of its parents. This works fine and gets me the useful
2006 Mar 28
2
prio, kernel 2.6: patch?
hi to all, I''m studying traffic shaping using kernel 2.6.8 (debian sarge). well, I have this problem: priority doesn''t work. I try with: - qdisc prio: tc qdisc add dev eth1 root handle 12: prio bands 3 tc qdisc add dev eth1 parent 12:1 handle 13: tbf rate 10Mbit buffer 1600 limit 3000
2009 Apr 23
1
Excluded directories at rsync (was "--filter, missing in action")
On Thu, 23 Apr 2009 17:32:37 +0200 Paul Slootman <paul+rsync@wurtel.net> wrote: > --delete-excluded will screw this up. Yes, this is why I don't use it. This is probably a bug because the excluded directories with "- DIR/**" will became empty on all receivers (SLAVE hosts). But with just "--delete" the excluded directories are not synchronized with the MASTER
2006 Jul 17
1
Getting rid of for loops
Hello R-users! I have a style question. I know that for loops are somewhat frowned upon in R, and I was trying to figure out a nice way to do something without using loops, but figured that i could get it done quickly using them. I am now looking to see what kind of tricks I can use to make this code a bit more aesthetically appealing to other R users (and learn something about R along the
2006 Apr 09
3
Conntrack, nat and multipath - what is wrong here?
I have a gentoo 2.6.14 box with 4 nics, LAN/DMZ/PUB1/PUB2 LAN and DMZ have a 1918 /22 each, PUB1 and PUB2 have a /29 each of which 5 ips are assigned. Using the mangle table, I give all packets a mark (according to local policies) in the range 1-10. Using ip rule, i pass marks 1-5 through the pub1 route table, and marks 6-10 through the pub2 routing table. Using the nat table, I SNAT to one
2004 Oct 04
3
echo cancellation: the never-ending quest for truth
Asterisk apparently has five echo cancellation algorithms: STEVE, STEVE2, MARK, MARK2 and MARK3. The current default appears to be MARK2. My question is, has anyone had any experience with any of the others (other than MARK2), and is there some conventional wisdom as to when to use one over another? TIA Bruce Komito High Sierra Networks, Inc. www.servers-r-us.com (775) 236-5815
2009 Dec 14
0
[Bug 595] MARK filter doesn't work
http://bugzilla.netfilter.org/show_bug.cgi?id=595 eric at inl.fr changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME ------- Comment #3 from eric at inl.fr 2009-12-14 20:31 ------- With
2008 Nov 10
2
how to convert indvidual pairwise distances to matrix
Hello, I am trying to convert list of pairwise distances to a distance matrix for spatial analysis (kriging). For instance, I have something like this for each pair pf points, and I want to convert it to a matrix: point1 point2 distance 1 1 0 1 2 4 2 2 0 2 1 4 Please let me know if there is a
2005 Sep 29
1
Mathematicians wanted (was RE: Best echo canceller?)
> -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com]On Behalf Of Andrew > Kohlsmith > Sent: Thursday, September 29, 2005 2:23 PM > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] Best echo canceller? > > > On Thursday 29 September 2005 17:04, Claudio Canseco wrote: >
2006 Jun 20
3
TDM400P bad echo problem, tried lots of things
I have a bad echo problem on my TDM400P with one FXO module installed. I have tried a few things, such as: * setting rxgain and txgain to 0 * setting echocancelwhenbridged to no / yes * settting echocancel to 64 / no / yes * setting echocanceltraining to 800 / no / yes * MG2 echo cancellation * MARK2 echo cancellation * KB1 echo cancellation * AGGRESSIVE_SUPPRESSOR option of MARK2 Each time
2002 Jan 23
5
unknown qdisc ''htb'' ???
Hello, I''d like to try out HTB for traffic shaping. I have a test machine with Redhat 7.2 (kernel 2.4.10), I''ve downloaded kernel 2.4.17, applied the patch from http://luxik.cdi.cz/~devik/qos/htb/, recompiled the kernel (checked the option to use HTB in make menuconfig), and rebooted with the new kernel. When I try to add some rules with HTB (f.i. tc qdisc add dev eth0 root
2005 Sep 29
2
Best echo canceller?
hi! In your experience what is the best choice for echo canceller ? Which one should work better: STEVE, STEVE2, MARK, MARK2, MARK3, KB1 ? Regards, Claudio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050929/f556bf91/attachment.htm
2004 Jan 26
3
Questions regarding new echo cancellation features...
I notice the zaptel Makefile option the mark2 option & KFLAGS+=-DAGGRESSIVE_SUPPRESSOR is now gone. Does simply adding these options still compile in a certain echo can - or is there an other method of activating a particular can. I have not had to update my machine that is connected to pstn for a while & I don't want to jump into echotraining without a way to quickly enable what has
2007 Mar 15
2
Help! Echo problem even at T1 PRI?
Hello, We have an asterisk setup at our client's site using a TE205P. The line to telco is a 23 channels T1 PRI, however the line has random echo problems (about 5-10% of the calls)! Can anybody tell me if echo cancellation is really needed even at a T1 PRI to the telco? Because people keep saying when they deploy voip solution in Hong Kong using T1 PRI, there is no need of echo cancellation.
2010 Nov 02
2
multi-level cox ph with time-dependent covariates
Dear all, I would like to know if it is possible to fit in R a Cox ph model with time-dependent covariates and to account for hierarchical effects at the same time. Additionally, I'd like also to know if it would be possible to perform any feature selection on this model fit. I have a data set that is composed by multiple marker measurements (and hundreds of covariates) at different time
2005 Mar 17
2
echo paid support
I've got echo problems. *** I'm looking for paid support. *** I'll accept free support, but don't mind paying if someone really knows what they are doing. I've read the wiki, etc. Played with the settings in zapata.conf Using V400P PSTN->_T1->_ASTERISK->_BROADVOICE->_PSTN ECHO ON CALLED PHONE PSTN->_T1->_ASTERISK->_T1->_PSTN NO ECHO
2005 Nov 24
1
playlist streaming
is it true it's not possible to start or stop indvidual streams using icecast2+icegenerator(liveice,ezstream) combination? i've tried mp3 directory streaming as well as playlist streaming - it works, but with no possibility to see full mp3 file listing and play control (like choosing a song, starting, stopping play). Icecast can't even diferentiate /dev/dsp input from playlist input.