Displaying 20 results from an estimated 300 matches similar to: "Still can't find missing data"
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
2009 Jun 03
1
Still can't find missing data - How do I get NA in xtabs with factors?
The problem here is Table doesn't seem to have a way to weigh the data.
> ToyData
Data1 Data2 Data3 Weight
101 Sam Red Banana 1.1
102 Sam Green Banana 2.1
103 Sam Blue Orange 2.1
104 Fred Red Orange 2.1
105 Fred Green Guava 2.1
106 Fred Blue Guava 2.1
107 <NA> Red Pear 50.1
108 <NA> Green Pear 50.1
109 <NA> Blue
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
2008 Aug 18
1
Survey Design / Rake questions
I'm trying to learn how to calibrate/postStratify/rake survey data in
preparation for a large survey effort we're about to embark upon. As a
working example, I have results from a small survey of ~650 respondents,
~90 response fields each. I'm trying to learn how to (properly?) apply
the aforementioned functions.
My data are from a bus on board survey. The expansion in the
2009 Jun 01
1
installing sn package
Hi r-users,
I want to use the sn package but I got the following message:
> install.packages(repos=NULL,pkgs="c:\\Tinn-R\\sn_0.4-12.zip")
Warning: package 'sn' is in use and will not be installed
updating HTML package descriptions
I did tried to do it a few times but it gives the same message.
________________________________
From:
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]]
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
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
2015 Oct 13
3
RFC: Introducing an LLVM Community Code of Conduct
While I'm replying to Renato here, that is mostly because there are too
many replies on this subject, and too many of them have wandered off into
other topics.
I want to specifically address the concerns with verbosity. For example:
On Tue, Oct 13, 2015 at 3:52 AM Renato Golin <renato.golin at linaro.org>
wrote:
> I also agree that some descriptions are too verbose, and trying to
2011 Mar 03
1
samba 3.5.7 tries to authenticate on ADS by machine name, not username
Hi
There's a lot of this all over the web but there doesn't seem to be
much in the way of in-depth investigation.
I have a RHEL5.3 server on which I've installed samba 3.5.7 from
http://ftp.sernet.de/pub/samba/3.5/rhel/5/i386/
It's set up with identical kdc.conf and smb.conf files to a server I
set up on the same network last week which is working flawlessly.
I can log on 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
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 May 21
4
2 part question
Is there a way to record your own voice messages ("Welcome to my PBX,
Press 1 for ...") using asterisk and an analog phone, or do they need to
be recorded using traditional voice recording software?
Also, I am confused as to why my replies to the message board are never
indented. Call this the ultimate newbie question, but how should the
reply be worded so that I don't screw up