Displaying 20 results from an estimated 21 matches for "braman".
Did you mean:
raman
2010 Oct 26
3
stripping #s in a text file prior to reading into table or dataframe
I'm importing a lot of text tables of data (from Latent Gold) that includes
hashes in some of the column names ("Cluster#1", "Cluster#2", etc.). Is
there an easy way to strip the offending hashes out before pushing the text
into a table or data frame? I thought I'd use gsub, e.g., but can't figure
out how to read in a text file without reading it into a table or
2009 Aug 26
2
simple graph question: manipulating variable names
...- paste(iv, dv, ".png", sep = "")
png(file=graphname, width=300, height=300)
plot(dv ~ iv, pch=".")
lines(loess.smooth(iv, dv), lty=1)
dev.off()
}
}
Clearly that doesn't work. I'm not sure how to make R see the iv and dv
strings as variables. Advice?
Donald Braman
phone: 413-628-1221
http://www.culturalcognition.net/braman/
http://ssrn.com/author=286206
http://www.law.gwu.edu/Faculty/profile.aspx?id=10123
[[alternative HTML version deleted]]
2009 Jul 03
2
mapping states with colors
...= c(syg, dtr),
fill=TRUE,
col=c('red', 'blue'))
Obviously that doesn't work. A couple questions:
1. How do I get Alaska & Hawaii on the map?
2. How to I set the col atttribute for a subset of the states I'm mapping?
Many thanks in advance for any help!
Don
Donald Braman
http://www.culturalcognition.net
http://ssrn.com/author=286206
http://www.law.gwu.edu/Faculty/profile.aspx?id=10123
[[alternative HTML version deleted]]
2010 Apr 07
3
PSTN issues
...g first and if no one picks up
, Asterisk picks and get routed to internal sip phones. I am not able to
find what I should tune to make the calls always go through asterisk without
the direct telephones ringing. Things used to work right, suddenly, I have
this problem after a recent storm.
Thanks,
-braman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100407/235b6eed/attachment.htm
2008 May 28
1
manipulating multiply imputed data sets
...ject and when it creates a new
one. I suppose I could do this in Python and the use PyR, but I'd
really like to learn a bit more about how R syntax.
Any help on this specific problem or general advice on manipulating
data in multiply imputed datasets in R would be much appreciated.
--
Donald Braman
http://www.law.gwu.edu/Faculty/profile.aspx?id=10123
http://research.yale.edu/culturalcognition
http://ssrn.com/author=286206
2009 Oct 17
2
repeating values in levels()
Can someone help me understand this results?
> levels(as.factor(miset1$facts_convict))
[1] "1" "1" "2" "3" "4" "5" "6"
converting to numeric and back doesn't seem to help:
> levels(as.factor(as.numeric(miset1$facts_convict)))
[1] "1" "1" "2" "3" "4" "5"
2010 Jul 24
1
latent class analysis with mixed variable types
As an alternative to Latent GOLD, I'm wondering if anyone knows of and R
package that can manage Latent Class Analysis with mixed variable types
(continuous, ordinal, and nominal/binary).
[[alternative HTML version deleted]]
2010 Mar 24
1
pstn calls not picked up
...are not being picked up. I don't find anything unusual in asterisk
log. I am clueless where I should look. I also find
zapata-additional.conf empty. The trouble started when the system was
accidentally shut down and rebooted.
Any help ? How do I diagnose if the TDM400P is not fried ?
Thanks,
-braman
2008 Jun 22
1
two newbie questions
...ure to me, though!
Please educate me!
# Question2: Could this could be done by using "apply" rather than a loop?
# Or is looping better here bc there are several actions performed at
each iteration?
# I'm still trying to get my head around all the ways to ditch looping in R.
Donald Braman
http://www.law.gwu.edu/Faculty/profile.aspx?id=10123
http://research.yale.edu/culturalcognition
http://ssrn.com/author=286206
2008 Jul 15
2
sem & testing multiple hypotheses with BIC
I'm coming from the AMOS world and am wondering if there is a simple
way to do multiple hypothesis testing in the manner of BIC analyses in
AMOS using the sem package in R. I've read the documentation, but
don't see anything in there except for basic BIC scores. Perhaps
someone has devised a simple way to compare the relative likelihood of
all possible path-fittings within a
2009 Apr 07
2
newbie query: simple crosstabs
I've been playing around with various table tools, trying to construct a
fairly simple cross-tab. It shouldn't be hard, but for some reason it
turning out to be (for me).
If I want to see how many men and how many women agree with a agree/disagree
question (coded 1,0), I can do this:
>attach(mydata)
>mytable <- table(male, q1.bin) # gender and a binary response variable
2008 May 19
2
recoding data with loops
# I'm new to R and am trying to get the hang of how it handles
# dataframes & loops. If anyone can help me with some simple tasks,
# I'd be much obliged.
# First, i'd like to generate some random data in a dataframe
# to efficiently illustrate what I'm up to.
# let's say I have six variables as listed below (I really
# have hundreds, but a few will illustrate the point).
#
2009 Apr 05
1
inverting a table
Is there an easy way to invert a table? (not to solve for the inverted
matrix, just swap rows for columns & vice versa). I've gone through my data
manipulation bible (Phil Spector's book), but to no avail.
[[alternative HTML version deleted]]
2008 Sep 27
1
quantile / centile
I'm wondering if there is a simple way to assign a quantile to a vector in a
data frame, much like one could in Stata using centile. Let's say I want 100
slices in my assignation. I can easily see what the limits of each slice by
using quantile:
quantile(my.df$my.var, probs=seq(0, 1, 0.01))
But how do I assign the appropriate value to each row/record in my data
frame? Clearly the
2009 Aug 27
1
standard error associated with correlation coefficient
I want the standard error associated with a correlation. I can calculate
using cor & var, but am wondering if there are libraries that already
provide this function.
[[alternative HTML version deleted]]
2010 Mar 25
0
call not routed
...calls and
there seems to be a premature timeout and hangups occurring. I am clueless
where to look. Can someone in the know, look at the following log and
enlighten me if there's a problem, or if it looks normal. From the calling
phone, it keeps ringing as if never picked up.
Thanks soo much.
-braman
================================================== xxxxxxxxxx=calling number
x'ed out for confidentiality prupose======
Mar 25 09:48:13 VERBOSE[3685] logger.c: -- Starting simple switch on
'Zap/4-1'
Mar 25 09:48:14 DEBUG[3685] pbx.c: Function result is '"DEWOLFE ENG"
<x...
2003 Mar 03
40
callerid
"In general you can match callerID with the /, but if you don't put
anything after the /, then the rule matches "no caller*ID", and if no
slash is there at all, it matches "any callerid". "
Ok.My question is ->
how to match callerid from 001... ?
and if don't know how many numbers ?
exten => s/0_,Answer don't work-
anything else ?
tnx
Thomas
2009 Aug 07
2
lowess puzzle
I was trying to fit a curve to the number of people who identify as liberal
by age. I got some puzzling results which suggested to me that I don't
really understand how local polynomial fitting works. Why, I am wondering,
is lowess producing a local fit of zero for every age?
> liberal.bin
[1] 0 0 0 0 1 0 0 0 1 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 1 1 0
0 0 0 1 1 0 0 0 0 0 0 0
2009 Sep 01
1
Logistic Politomic Regression in R
...#39;ll see if I can figure
out what's going wrong.
Duncan Murdoch
------------------------------
Message: 28
Date: Sun, 30 Aug 2009 13:53:33 -0400
From: Sunil Suchindran <sunilsuchindran@gmail.com>
Subject: Re: [R] standard error associated with correlation
coefficient
To: Donald Braman <dbraman@law.gwu.edu>
Cc: r-help <r-help@r-project.org>
Message-ID:
<f2faed070908301053g4bab9b95n681b31d0ace49300@mail.gmail..com>
Content-Type: text/plain
Here are some options for confidence intervals.
#by hand
sample_r <- .5
n_sample <- 100
df <- n_sample-1
fishe...
2009 Jul 09
2
How to Populate List
...ieck)
31. Re: Reading from Google Docs (Duncan Murdoch)
32. Re: Reading from Google Docs (Farrel Buchinsky)
33. Re: Fitting a trend-line (anupam sinha)
34. truncated regression out-of-sample predictions
(Wouterse, Fleur (IFPRI-Senegal))
35. recoding strings containing colons (Donald Braman)
36. Re: error: no such index at level 2 (Godmar Back)
37. please remove me from this list (Curley, Jane)
38. Re: functions to calculate t-stats, etc. for lm.fit objects?
(Marc Schwartz)
39. Formatting a Table (cvandy)
40. Two-way ANOVA gives different results using anova(lm()) tha...