Someone asked how to get long column names to wrap earlier this evening.
This is how you do it:
& Incumbency & \\
State & Advantage & Year \\
The middle column should read, "Incumbency Advantage" over two lines.
Your helpful little friend,
Olivia.
Dear All,
Another quick query: when I import graphs as ps files into Latex, the labels
for the axes are tiny, even when I make the graph itself a reasonable size.
Any thoughts on avoiding this dilemma are greatly appreciated.
Best,
Dan
Dear All,
Quick query: Imagine that I want to have text wrap around a table of mine, so
that the tiny table doesn't take up the entire line. How might I tell LaTex to
do that? The Not So Short Guide uses this technique repeatedly in its lay out,
but seems speechless on the question of how I might reproduce that effect.
Best,
Dan
Please... somebody...
I thought I had input the data correctly... but something's wrong and I
don't know what it is and now I'm desparate...
I don't know if this is a list/midterm violation, but it's 4 am and I've
been panicking for a long long time...
> read.table("s912.txt", na.strings="-9")
> names(s912)[1:8] <-
list("Year","State","DemPorPres.912","DemPorSen.912","Incumb.912","Electoral","DemVotes.912","RepVotes.912")
I've done that for every single year file...
and I've tried merging and that doesn't work. I've tried to get rid of
the Year variable and the electoral variable so things will match up and
that hasn't worked...
I've tried running a code similar to Dave's from HW 5 but for some reason
that hasn't worked...
I'm going to save what little i have and scrap everything and try again
from the begining... maybe my data is corrupted... but before i do I
wanted to see if there was anyone who could help before then...
please...?
I'm chucking everything if I don't get a reply by 4:30 am.
Please help if you can...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tiffany C. Nagano
Harvard College '05
nagano(a)fas.harvard.edu
313 Mather House Mail Center
(617) 493-7370
Okay... if I've got a data frame, but I've created a column that I don't
want, how do I get rid of it? ie the data frame is called "MT" and I want
to get rid of the "year" variable... so to get rid of "MT$year" what do I
do? I've been unsucessful so far and I'm feeling kinda stupid...
~T
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tiffany C. Nagano
Harvard College '05
nagano(a)fas.harvard.edu
313 Mather House Mail Center
(617) 493-7370
Hi all,
A quick question: does anyone know how to make the column headers in a
LaTEX table wrap onto a second line rather than running off the page?
I've tried the "Not so Short Guide to LaTEX 2e" to no avail...
Thanks,
Lanhee
Does anyone know how to footnote in latex?
yongwook
-----------------------------
Yongwook Ryu
PhD Candidate
Department of Government
Harvard University
Tel:617-493-3397
Email: yryu(a)fas.harvard.edu
-----------------------------
Dear all,
Does anyone know how to get the citation to be just the year, e.g. (1994)?
I found this command ~/citeyear{ref}, but when I latex it, it tells me
that the year in the citation is undefined. But in the bibtex file, I
have YEAR = {1994}, so it is defined. Any insights??
Thanks,
Olivia
If we reproduce a formula from the GK article(eg, psi = w^(I) - w^(O)),
how do we properly cite it and the definition of its terms?
Andrew
-~-~-~-~-~-~-~-~-~-~-~
Andrew Reeves
Ph.D. Candidate
Department of Government,
Harvard University
reeves(a)fas.harvard.edu
Perkins Hall #212
35 Oxford Street
Cambridge, MA 02138
617.493.3485 tel.
301.639.8369 cell.
-~-~-~-~-~-~-~-~-~-~-~
I am trying to reproduce GK's definition of incumbency advantage in their
article (on p. 1143). Does anyone know how to do that?
yongwook
-----------------------------
Yongwook Ryu
PhD Candidate
Department of Government
Harvard University
Tel:617-493-3397
Email: yryu(a)fas.harvard.edu
-----------------------------