Displaying 6 results from an estimated 6 matches for "culturalcognit".
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 Jul 03
2
mapping states with colors
...ll=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]]
2008 May 28
1
manipulating multiply imputed data sets
...yR, 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
2008 Jun 22
1
two newbie questions
..."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
2009 Aug 26
2
simple graph question: manipulating variable names
...= "")
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 09
2
How to Populate List
...master.ca
Message-ID:
<a6f585d20907080746x410ce8d3v83f00e6d567b04e2@mail.gmail..com>
Content-Type: text/plain; charset=ISO-8859-1
Curious to know if recode can work with strings containing colons. I
haven't gotten it to work yet, but perhaps there is a way?
Donald Braman
http://www.culturalcognition.com/braman/
------------------------------
Message: 36
Date: Wed, 8 Jul 2009 10:47:32 -0400
From: Godmar Back <godmar@gmail.com>
Subject: Re: [R] error: no such index at level 2
To: Henrique Dallazuanna <wwwhsd@gmail.com>
Cc: r-help@r-project.org, Petr PIKAL <petr.pikal@preche...