similar to: 2 part question

Displaying 20 results from an estimated 500 matches similar to: "2 part question"

2009 Aug 07
3
Simple Question: adding points to a boxplot
I apologize in advance for the simplicity of this question. I use R 2-3 times a year, and I seem to forget more in the intervening months than I learn during my days of panicked reading.... I HAVE tried looking at the help resources; I'm just not very good at understanding them. I have a dataframe with 18 observations of 5 different things, and a second dataframe with and estimate for those
2009 Aug 10
4
NotePad++ Syntax file
Does anyone have an R Syntax Highlighting file {userDefineLang.xml} for NotePad++?? I've started one, but I'm not so happy with it. Robert Farley Metro 1 Gateway Plaza Mail Stop 99-23-7 Los Angeles, CA 90012-2952 Voice: (213)922-2532 Fax: (213)922-2868 www.Metro.net [[alternative HTML version deleted]]
2009 May 26
3
Still can't find missing data
I'm trying to prepare some cross tabs, looking at a number of variables against a variable "connector" which has 2 values: "OD Passenger" and " Connector". When I produce a xtabs one way I have observations under "Connector" but against a different variable "Connector" shows all 0 values. What is wrong? I've looked into the na commands
2003 Mar 05
6
Known SIP - NAT Solutions?
I have recently begun experimenting with Asterisk, and have been mightily impressed by its capabilities and flexibility. I have run across one problem, however, that challenges my ability to use it as a production system. My Asterisk box has a public Internet IP, and works great with SIP (ATA 186) clients that also have public IP addresses. Unfortunately, most of the locations that I would
2008 Aug 14
2
Simple (?) subset problem
I can't figure out the syntax I need to get subset to work. I'm trying to split my dataframe into two parts. I'm sure this is a simple issue, but I'm stumped. I either get all or none of the original "rows". > XTTable <- xtabs( ~ direction_ , SurveyData) > XTTable direction_ EASTBOUND
2012 Mar 15
2
summing "transfers"
I have a dataframe from an On-Board Survey with weights ("expwgt") and variables for up to 8 used lines: VEH1 through VEH8. The lines are labeled "MT-..1" through "MT-902". I want to know how many transfers there are between MT-802 and MT-901. That is, when one of them is VEHx and the other is VEHx+1 or VEHx-1 E.g. {VEH1 = MT-802 AND VEH2 = MT-901 } plus {VEH2 =
2008 Aug 21
2
data.frame() creates list?
I obviously don't know what I'm doing. I want to create "ByEBNum" as a data frame, but it comes out as a list. How do I make it a data frame? > EBNumStn <- c(673.65, 800, 1000, 1000, 800, 700, 600, 500, 400, 200, 50, 50 ) > ByEBNum <- data.frame(c(1:12),EBNumStn) > typeof(EBNumStn) [1] "double" > typeof(c(1:12)) [1]
2003 Apr 08
1
T100P Incoming Calls Drop
I have been experiencing a rather odd issue with my (newly connected) T100P card. It is installed in my Asterisk server, which is working great with SIP clients. The card is connected to a channelized T-1 line (24 channels). The odd bit is that outgoing calls (Asterisk --> T-1 --> PSTN) works just fine. However, incoming calls (PSTN --> T-1 --> Asterisk) are dropped after about 20
2008 Jun 26
1
Survey questions
First the R question. I have the results of a rather large survey (thousands of forms, each with dozens of questions) with some existing weights and expansion factors. I wish to add additional weighting factors, based on new information that elements of certain variables should appear in certain proportions. Where should I look in R to develop what is essentially an N-dimensional balancing
2010 Jul 20
2
Constrain density to 0 at 0?
I'm plotting some trip length frequencies using the following code: plot( density(zTestData$Distance, weights=zTestData$Actual), xlim=c(0,10), main="Test TLFD", xlab="Distance", col=6 ) lines(density(zTestData$Distance, weights=zTestData$FlatWeight), col=2) lines(density(zTestData$Distance, weights=zTestData$BrdWeight ), col=3) which works fine except the
2005 Jun 20
2
Automatic Agent Login
Is there an easy way to automatically log agents in? We are using the queuing function to front end a main number without really using multiple agents. The downside is during a restart, or system reboot someone must remember to log in the agent. If I could incorporate it into a startup script it would be much more convenient. I've done some looking around and see references to
2008 Oct 30
1
Trying to "expand" some data - Newbie needs help
I want to calculate "expansion factors" for elements in my dataframe based on a 2-d cross classification. Since I'll have "missing values" (many combinations will have no record) I'll need a second "expansion factor" for each "row". I've included my "work to date" below, but I'm not very close to getting this right. My
2008 Feb 13
3
AMD64 vs i386, ifstat and bsnmp
Couple of little things I noticed with a new RELENG_7 AMD64 box (as of yesterday) ifstat from the ports cannot seem to find interfaces for some reason ? It works fine on i386 [ns8]# ifstat -b ifstat: no interfaces to monitor! [ns8]# [ns8]# ifconfig em0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
2009 Feb 19
1
How do I get xtabs to show missing data?
I presume the behavior below (no Connector values in the second table) is because I have na values in my dataframe. How do I get them to list? I found references to na.action and na.pass, but I could not figure out how I could use them with xtabs to list the na as a value. I'm sure there's a simple syntax I need, but it's not obvious to me. > # Weighted Data
2008 Apr 03
1
newbie subset question
I want to look at all the records making up a "row and column" of a crosstab, but I'm not getting it right. I'm trying to use subset() but my selection ((prod_act=="other") || (attr_act=="other")) gives my no records. See the second table below. Getting just the row does work, as seen in the third table. Why is this failing me? > .Table <-
2007 May 20
1
Tips on testing
Hey WWW::Mechanize users, I''ve been using Mechanize for about 3 or 4 months now, and I''m rather enjoying it. I''ve done scraping in PHP & Python, starting with raw text and HTTP requests, moving up to regex and Curl, and finally landed myself here, making me much more productive when scraping pages. At the moment, I''m in the middle of a decent sized
2003 Jun 17
3
Directory Application question
I'm wondering if I can do the following: Caller activates the Directory application Caller enters the first 3 digits of a person's last name ===== Normally here, Asterisk will say the extension number of a person found. Is there a way to get Asterisk to say the name as well? (perhaps using the same sound file that is used for their name in the voicemail application) Can this be
2003 Apr 21
4
Rackmount PC hardware suggestions
I'm looking for anyone who has some vendors for rackmount PC hardware in a fairly decent configuration for Asterisk/Digium T1 termination. I am looking for well-built hardware from an integrator that understands correct component choice. Preferably, I'd like SCSI but I might be able to do Ultra-IDE platforms. I need at least two PCI slots in the chassis (so 2u/3u size factor is OK.)
2008 Nov 05
1
How do I read a text (.csv) file to match a matrix/cross tab? (Object confusion??)
I'm having a problem reading data to set control totals for a dataframe. I want to adjust a dataframe based on a 2-d table of values, which I get by using : > CurrentX1Sums <- as.matrix(xtabs(~tripid_nu+lineon, data=SurveyData)) > CurrentX2Sums <- apply(CurrentX1Sums, 1, sum) I've created a .csv file with new (target) sums that looks like this: tripid_nu Warner
2011 Sep 30
1
Advice on approach to weighting survey
I'm about to add weights to a bus on-board survey dataset with ~150 variables and ~28,000 records. My intention is to weight (for each bus "run") by boarding stop and alighting stop. I've seen the Rake function of the Survey package, but it seems that converting to a "svydesign" might be excessive for my purpose. My dataset has a huge number of unique