similar to: Convert dataframe to table with counts where column names become row names

Displaying 20 results from an estimated 200 matches similar to: "Convert dataframe to table with counts where column names become row names"

2001 Nov 29
2
plotting (a) confidence intervals (b) standard error
Hi all, I'm building a plot of the values in tmeant (below) against positions 1 to 5, using matplot. tmeant looks like this: case1 case2 pos1 861.8466 818.5909 pos2 961.2841 976.3466 pos3 878.6080 1262.8523 pos4 950.8011 1129.6080 pos5 968.1080 1063.3920 I also have lower (object tl) and upper (object tu) bounds on the confidence intervals as follows: tl: pos1
2010 Jul 06
1
plotmath vector problem; full program enclosed
Here's another example of my plotmath whipping boy, the Normal distribution. A colleague asks for a Normal plotted above a series of axes that represent various other distributions (T, etc). I want to use vectors of equations in plotmath to do this, but have run into trouble. Now I've isolated the problem down to a relatively small piece of working example code (below). If you would
2012 Feb 17
5
How to change the order of columns in a data frame?
Dear all, I have a data frame in which the columns need to be ordered. The first column X is at the right position, but the remaining columns X1-Xn should be ordered like this: X1, X2, X3 etc instead of like below. > colnames(pos1) [1] "X" "X1" "X10" "X11" "X12" "X13" "X14" "X15" "X16"
2006 Apr 04
2
ogg + theora + seeking
Hi all, I'm actually learning how to use ogg, theora and vorbis. My idea is to create a small program running, that is able to concatenate ogg video+audio files. However I have some small questions. Here I will start with the first one: I read the following for seeking in ogg for a theora key-frame: ---- snipp (http://www.xiph.org/ogg/doc/ogg-multiplex.html) ---- [...]The third point
2003 Feb 24
2
69.x.x.x network in rfc1918
I came across a problem when one of our clients was not able to access any of the servers on our network. This person has never connected to us before and now for this first time was trying to do it from his home is Houston, TX using earthlink cable service provided by Time Warner. All this information, I think, is important because when I started examining my shorewall logs I found out
2011 Jan 14
9
Selecting the first occurrence of a value after an occurrence of a different value
Hello everyone, I am currently working with some data where I need to select the first occurrence of a value after the occurrence of another value. The data has two columns, one with a time and one with occurence of certain events. The column of data I want to select from looks like this (and each of these events have a corresponding time in another column). Stat71 OutMag FirstResp InMag
2009 May 25
3
Interpolating variables within (RODBC library) SQL statements for MySQL
Hi everyone, I am desperately looking for a method to interpolate strings within an SQL statement as follows: I get a lot of rows out of a database (in my example POSITION_to_ZIPCODE Database with holds records for German ZIP Code <--> Gauss-Krueger Coordinate System ) and want this to be selected and computed individually row by row as follows: library(RODBC) channel <-
2009 Jul 10
2
drawing hmms
Hi, I need to draw hmm's in R.I also need to include a small plot near each state of the hmm.How can I do this? -- Rajesh.J [[alternative HTML version deleted]]
2009 Sep 23
1
Numerical integration problem
Hi there I'm trying to construct a model of mortality risk in 2D space that requires numerical integration of a hazard function, for which I'm using the integrate function. I'm occasionally encountering parameter combinations that cause integrate to terminate with error "Error in integrate... the integral is probably divergent", which I'm not sure how to interpret. The
2002 Sep 10
2
Traceroute
How do I allow traceroute to reach my server? Pings work fine but traceroute stops at the last hop before my server. If I shut off the firewall it reaches it fine. PING danicar.net (24.222.246.120): 56 data bytes 64 bytes from 24.222.246.120: icmp_seq=0 ttl=237 time=104.0 ms 64 bytes from 24.222.246.120: icmp_seq=1 ttl=237 time=74.9 ms 64 bytes from 24.222.246.120: icmp_seq=2 ttl=237 time=90.6
2010 May 04
1
Avoiding for-loop for splitting vector into subvectors based on positions
Dear all, I'm trying to optimize code and want to avoid for-loops as much as possible. I'm applying a calculation on subvectors from a big one, and I get the subvectors by using a vector of starting positions: x <- 1:10 pos <- c(1,4,7) n <- length(x) I try to do something like this : pos2 <- c(pos, n+1) out <- c() for(i in 1:n){ tmp <- x[pos2[i]:pos2[i+1]]
2004 Jul 06
3
Cisco 7960 and Voice Mail
I search Google to find how to get the message light to flash on my Cisco 7960 running (Application Load ID POS3-06-3-00) (Boot Load ID PC03M030) (DSP Load ID PS03AT38) All I see is about the sip.conf file witch mine has the mailbox=XXXX but still no light. Also the messages button does not work. Any ideas?
2011 May 28
8
Cisco registration problem with 1.8.3.3
I am having a problem registering my cisco phones which is exactly like that described in http://lists.digium.com/pipermail/asterisk-users/2011-May/262306.html except that I am on Asterisk 1.8.3.3 and using sip level POS3-07-4-00 The symptoms are: o 7960 lines show [X] o Outbound calls can be made from the phone, including call pickup of inbound calls, but not to it. o Trace shows REGISTER
2004 Jan 04
4
Cisco to Cisco - poor quality
I am just starting to deploy asterisk in our office to use as our primary phone system - we plan to use a Voicetronix OpenLine4 card as our PSTN gateway - but one thing at a time... haven't got that far yet. Currently, i'm trying simple IP to IP calls within the office using our Cisco 7960's phones running SIP. When I make a call between these two phones, the conversation is of a
2008 Feb 06
2
kinship package: drawing pedigree error
Hi Im using the kinship package to draw a pedigree. On my data set this works fine but when i add indivudals to the pedigree i keep getting an error i hope someone can help me! This is the code im using: Data<-read.table("Tree.txt", header=T, sep=",") attach(Data) ped<-pedigree(id, dadid, momid, sex, aff) par(xpd=T) plot.pedigree(ped) This is my data looks like
2004 Mar 30
1
Cisco 7960 tftp question
Hello, and thank you for your time answering my question. I have a Cisco 7960 running SIP firmware POS3-06-X-XX. If I want to upload SIP configurations via *.cnf file from my tftp server, do I need to include the OS79XX.TXT and P0S3-06-X-XX.bin to the tftp server root directory to be uploaded every time the phone reboots? Thanks again for your help. Oliver
2004 Mar 31
1
Voicemail prompts garbled
I'm having problems with the voicemail prompts. The beginning of each prompt is garbled. Prompts "edian mail" and "assword" can be recognized, but when it starts on the short phrases it is completely garbled. It is almost like the subsequent phrase starts before the current phrase finishes. I have isolated the LAN to the * box and the phones, so LAN congestion is
2005 Mar 01
1
Cisco 7940, Voicemail & DTMF
Would anyone know why Voicemail in * doesn't get the DTML keypresses from my Cisco 7940 running SIP (POS3-07-3-00) ? Is it something to do with "dtmf_avt_payload: 101" setting in SIPDefault.cnf in the tftp server? Thanks for any help! Derek -- Derek Conniffe Rivertower Ltd DDI: (Local Ireland) 01 201 0146 (International) +353 1 201 0146 Mobile: (Local Ireland) 086 856 3823
2007 Apr 14
1
"HTTP Connection Timeout" Trouble with Cisco 7960 Phone
Hello, I'm using two Cisco 7960 phones currently loaded and showing Firmware POS3-07-4-0 (Version 7.4?) and I'm having a strange problem. Whenever the phone is supposed to try to load anything over HTTP from my Apache 2.2.x web server, the connection just sits and times out. Nothing shows up in the Apache logs unless I hit cancel. What could the trouble be? -- Mark P. Hennessy
2010 Feb 03
1
500 Internal Server Error on Cisco 7940 after INVITE
Hi, Our Cisco 7940 phones on a single network sometimes seem to drop calls as soon as they are picked up. After a second INVITE the phone sends '500 Internal Error'. One phone thinks its still in a call (though there is no audio) while the other phone is not in a call. The drop happens immediately after connecting and I think it is due to a second INVITE. Turning reinvite off seems