tion).
>>
> Hi Chandra,
> It's a bit hard to work out exactly what you want, but try this:
> barplot(matrix(c(10,3,NA,1,2,3),ncol=2),col=c("lightblue","pink","pink"),
> names.arg=1:2,xlab="Group size",ylab="Number",main=
6026 for assistance.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
p
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
_
.
> 50: In write.csv(sim_data, file = "sim_data.csv", append = TRUE, ... :
>
> attempt to set 'append' ignored
>
> Kindly guide
>
> Regards
>
> Vincy
>
>
>
>
> [[alternative HTML ve
4 1
> 8 5 2
> 6 9 3
>
>
>
>
> I want to draw plot with two lines in it were 'year' would be on x axis
> and sale level of two drugs on the same y axis
qplot(year, drug1, data=dat, geom="line") + geom_line(aes(y=drug2))
should d
ine
> A. T. Still University of Health Sciences
> Kirksville, MO 63501
> 660-626-232
> FAX 660-626-2965
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listin
would be necessary on the bottom of the plot)?
>>
>> Thanks,
>>
>> Werner
>>
>>
>> --
>> View this message in context:
>> http://r.789695.n4.nabble.com/Multiple-area-plots-to-share-the-same-x-axis-tp3414050p3414050.html
>> Sent from the R help
listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
___
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, repr
ell.
>>> >
>>> > --
>>> > Peter Dalgaard
>>> > Center for Statistics, Copenhagen Business School
>>> > Solbjerg Plads 3, 2000 Frederiksberg, Denmark
>>> > Phone: (+45)38153501
>>> > Email: pd@cbs.dk Pri
nah Consulting
> www.ninah.com
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-con
On Thu, Apr 7, 2011 at 3:57 PM, Tobias Verbeke
wrote:
> On 04/07/2011 04:46 PM, Ista Zahn wrote:
>
>> I don't think R-help is the appropriate place for this question.
>> Probably you will have more luck at http://www.theattorneysforum.com/
>> or some such.
>
&
gt; PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
_
tive HTML version deleted]]
>
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal,
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
elp
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
tp://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
__
R-help@r
4 1
> 9 1004 03/01/1997 11/15/1997 9 2 0 1
>
> 3 1
> 10 1004 11/16/1997 01/04/1999 10 2 0 0
>
> 2 0
> 11 01/02/2003 04/04/2006 1 0 0 1
>
> 1
== 1 & NNRTI >= 1 & PI >= 1),
1, 0))
Best,
Ista
On Wed, Apr 20, 2011 at 5:22 PM, Ista Zahn wrote:
> I think this is kind of like asking "will your Land Rover make it up
> my driveway?", but I'll assume the question was asked in all
> ser
o read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
_
AS stuff. The way I arrived at the solution was just by looking at
the output you wanted and producing it in R in the way that seemed
most natural to me. Would someone else do it differently? Yes. Could
someone else do it better? Yes. But is it worth the time to try and
find a better way? I
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Gradu
html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
__
R-help@r-project.org mailing list
https://stat.ethz.
27;,pointsize=9,res=300)
> + print(ggplot(df,aes(x=factor(site),y=value))+geom_boxplot())
> + dev.off()
> + },.parallel=T)
> + )
> user system elapsed
> 70.33 3.46 27.61
>>
>
> How might I speed this up and include the sequential plot names?
>
> Thanks a
ot;, "error", "NA", "V"), ]
dfm.r <- ddply(dfm.r, .(name), transform, index = paste("S",
1:length(name), sep = ""))
cast(dfm.r, name ~ index)
Best,
Ista
>
>
> Laura
>
> [[alternative HTML version deleted]]
>
> _
from the R help mailing list archive at Nabble.com.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, se
vector, or I get a matrix with TRUE FALSE, and usually I get the
>> > whole
>> > rows, and I don't want that :(
>> > I have also being searching the list for answers without avail.
>> > Any suggestions? Examples including syntax are appreciate
t.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
____
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
On Tue, Aug 16, 2011 at 6:29 PM, Ista Zahn wrote:
> Hi Tia,
>
> On Tue, Aug 16, 2011 at 6:00 PM, Sam Steingold wrote:
>> I have two datasets:
>> A with columns Open and Name (and many others, irrelevant to the merge)
>> B with columns Time and Name (and many othe
On Tue, Aug 16, 2011 at 6:40 PM, Sam Steingold wrote:
>> * Ista Zahn [2011-08-16 18:31:00 -0400]:
>> On Tue, Aug 16, 2011 at 6:29 PM, Ista Zahn wrote:
>>> Hi Tia,
>
> "tia" == "thanks in advance" :-)
*facepalm* Thanks Sam, one day I'll learn
ling list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical
,
> "1", "1", "1", "1", "100", "0", "100", "0", "0",
> "1000", "1000", "0", "0", "0", "0", "0
_
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
__
k
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-gu
gt; __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
On Fri, Aug 19, 2011 at 4:25 PM, Uwe Ligges
wrote:
>
>
> On 19.08.2011 21:15, Ista Zahn wrote:
>>
>> On Fri, Aug 19, 2011 at 2:23 PM, danielepippo wrote:
>>>
>>> Hi everybody.
>>>
>>> I'm trying to use R with Sweave but I hav
ehouse/174561-Coding-Wiki
> http://code.google.com/p/mcover/
> http://www.tigris.org/
>
> This is just an idea I had on my mind.
>
> Thank you
>
> ______
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo
ction = "horizontal")
as this seems like a much clearer presentation of the data.
Best,
Ista
>
> Cheers,
> Ashz
>
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/lattice-to-ggplot2-conversion-help-tp3760001p3760001.html
> Sent from the R help mailing list archive at Nabble.com.
&
e: < 2.2e-16
>
>
>
> So having, for instance for humidity (hum), B = 28.35 +/- 1.468, while Beta
> = -0.4581509 +/- 0.0073456 is concerning. Is this normal, or is there an
> error in my code that has caused this contradiction?
>
> Many thanks,
>
> James.
>
>
&g
list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clini
I have used $i.out here and every time in for loop i will be 1 then 2 then 3
> till 100.So it will become very easy.But this $ sign is not working in the
> R.Can I do this thing in R.
>
>
>
>
> Thanking you,
> Warm Regards
> Vikas Bansal
> Msc Bioinformatics
uot;, sep = "")
Best,
Ista
>
>
> Thanking you,
> Warm Regards
> Vikas Bansal
> Msc Bioinformatics
> Kings College London
>
> From: istaz...@gmail.com [istaz...@gmail.com] On Behalf Of Ista Zahn
> [iz...@psych.rochester.ed
>>
>> + C21*sd(hum)*sd(wind)*
>> (Hum + mean(hum)/sd(hum))*(Wind + mean(wind)/sd(wind))
>>
>> + C22*sd(hum)*sd(rain)*
>> (Hum + mean(hum)/sd(hum))*(Rain + mean(rain)/sd(rain))
>>
>>
ank you very much!
> Rita
>
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/Replacing-NAs-in-one-variable-with-values-of-another-variable-tp3763269p3763269.html
> Sent from the R help mailing list archive at Nabble.com.
>
>
age in context:
> http://r.789695.n4.nabble.com/ddply-how-to-transform-df-column-in-place-tp3764037p3764037.html
> Sent from the R help mailing list archive at Nabble.com.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/m
ew this message in context:
> http://r.789695.n4.nabble.com/Scatter-plots-linear-regression-in-ggplot2-tp3765080p3765080.html
> Sent from the R help mailing list archive at Nabble.com.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
>
; http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posti
poly(aes(x = value,
> y = ..density.., colour = cols))
>
>
> ### End code ###
>
> Any help would be appreciated!
>
> thanks!
>
> [[alternative HTML version deleted]]
>
> _
s, and a different colour for the
> second set of distributions. Does that make sense?
>
> thanks!
>
>
>
> On Thu, Sep 8, 2011 at 11:26 AM, Ista Zahn
> wrote:
>>
>> Hi Brian
>>
>> On Thu, Sep 8, 2011 at 10:30 AM, Brian Smith
>> wrote:
>
ble type?
> 2) Any ideas how to proceed?
>
> Many thanks,
> Dave
>
> ______
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-g
> Sent from the R help mailing list archive at Nabble.com.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained,
On Mon, Mar 5, 2012 at 2:47 PM, vincent.deluard
wrote:
> Hi Jim,
>
> Please disregard my earlier post -- I have done some research and realized
> the space between after "program " was the the issue. I can now open
> RScript.exe from the command prompt using the abbreviated form:
>
> C:\PROGRA~1\R
groups-tp3599548p3599548.html
> Sent from the R help mailing list archive at Nabble.com.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and prov
.D. Student, Health Psychology
> University of California, Los Angeles
> http://www.joshuawiley.com/
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http:/
>>> Joshua Wiley
>>> Ph.D. Student, Health Psychology
>>> University of California, Los Angeles
>>> http://www.joshuawiley.com/
>>>
>>
>>
>>
>> --
>> Erin Hodgess
>> Associate Professor
>> Department of Computer and Mathematic
staterythz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Ps
g mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of C
ut a chance of helping me out. I
> hope it is okay.)
>
> --
> View this message in context:
> http://r.789695.n4.nabble.com/changing-graphs-in-qqplot2-tp3626510p3626510.html
> Sent from the R help mailing list archive at Nabble.com.
>
>
//www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
__
R-help@r-project.
pe, col = type, weight = weight))
>
> m+geom_density()+geom_point(aes(x = expo, y = ze, shape = type))
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http:
n/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsyche.org
nabble.com/grey-colored-lines-and-overwriting-labels-i-qqplot2-tp3657119p3657119.html
> Sent from the R help mailing list archive at Nabble.com.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
>
ist
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and S
gt;
>
>
>
>
> Thanking you,
> Warm Regards
> Vikas Bansal
> Msc Bioinformatics
> Kings College London
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
gt; https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and So
binwidth=.29,main="test")+ylab("NEW")
>
> -Original Message-
> From: istaz...@gmail.com [mailto:istaz...@gmail.com] On Behalf Of Ista Zahn
> Sent: Monday, July 25, 2011 2:02 PM
> To: Steven Rytina, Prof.
> Cc: r-help@r-project.org
> Subject: Re: [R] ggplo
how can I get the value of factor ID at each level of
> by()?
>
> Please advise,
>
> Merik
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> P
ta as much as possible.
Why? What do you have against loops?
Best,
Ista
>
> On Tue, Jul 26, 2011 at 12:18 AM, Ista Zahn
> wrote:
>>
>> Hi Merik,
>> by() works most easily with data.frames. Is this what you are after?
>>
>> my.plot <- function(dat) { p
a(lmR)
anova(lmR,lmR0)
does not.
I don't know the answer, but I think it is an interesting question.
Best,
Ista
>
> --
> David Winsemius, MD
> West Hartford, CT
>
> __
> R-help@r-project.org mailing li
Street
> Brantford, Ontario, Canada
> N3T 2C9
> Cell: +1 905 746 7606
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commente
T ca
> Professor, Psychology Dept.
> York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
> 4700 Keele Street Web: http://www.datavis.ca
> Toronto, ONT M3J 1P3 CANADA
>
>
> [[alternative HTML version deleted]]
>
>
On Sun, Jul 31, 2011 at 12:14 PM, Joshua Wiley wrote:
> On Sun, Jul 31, 2011 at 9:00 AM, David Winsemius
> wrote:
>>
>> On Jul 31, 2011, at 11:51 AM, Ista Zahn wrote:
>>
>>> Hi Michael,
>>> The easiest thing to do is just install the source package
;> wrote:
>>>>> Dear all,
>>>>>
>>>>> I have a very simple question.I have data frame of 50 columns and i want
>>>>> to insert a column in 30th position.But i do not want to delete that
>>>>> column.Is it possible to incl
; E: matt.curcio...@gmail.com
>
> ______
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-conta
r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
--
Ista Zahn
Graduate student
Un
my recent question in
> https://stat.ethz.ch/pipermail/r-help/2011-August/285650.html (I
> assume it's best not to respond at the end of threads with a "thank
> you" only, to avoid cluttering people's inboxes?)
>
> best
> Sverre
>
> ______
> R-
Hi David,
Your example works as expected for me (see sessionInfo below). What
version of R are you using? What other packages are loaded?
R version 2.15.1 (2012-06-22)
Platform: x86_64-unknown-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8
The data is already in a "long" form, it doesn't require melting. The
problem was simply that you used the wrong argument name: change
"value.vars" to "value.var", i.e.,
dcast(md2, group ~ tps , value.var = "sum")
should work fine.
Best,
Ista
On Tue, Jul 24, 2012 at 1:23 PM, jose Bartolomei
There is nothing about R in your question, hence it is not appropriate
for this list. Please consult with a local statistician, or post on a
stats help list such as http://stats.stackexchange.com/
On Tue, Jul 24, 2012 at 8:55 PM, tedtoal wrote:
> I'm trying also to understand how to get the betwe
Hi Michael,
I see some confusion here. The objects() command does not list
"objects in the WorkingDirectory", but objects in your R environment.
R environments do not have directories or sub-directories, so I'm
finding your question very confusing. Can you clarify?
Best,
Ista
On Thu, Jul 26, 201
Hi Antonio,
It's hard to know for sure what the problem is, because we don't know
what your vef1 data.frame contains. My guess is that edad11 is not
numeric, so never equals 0 (although it might equal the character
string "0").
If you paste the results of str(vef1) in your reply we can see if my
Hi Rob,
Unless I've missed something you are just looking for ?save and ?load.
Best,
Ista
On Tue, Aug 7, 2012 at 9:20 AM, robgriffin247 wrote:
> Hi,
> I think this is probably (& hopefully) very easy but I the ideas I have
> tried don't work.
>
> Simply, I have 2 very large lists in my workspac
Hi,
Sounds like suppression -- see e.g.,
http://www.jstor.org/stable/2988294?seq=1 for a discussion.
Since this is not an R question but a statistical one, it may be more
appropriate to post this question to a statistics forum such as
http://stats.stackexchange.com/
Best,
Ista
On Tue, Aug 7, 20
Hi Johas,
I've run into a similar problem due to Emacs on OSX setting my locale
to "C". If you're on Mac or Linux you can try setting
Sys.setlocale(category = "LC_ALL", locale = "UTF-8")
before calling Sweave()
Best,
Ista
This doesn't æ ø å and pdf document only contains NA
On Wed, Aug 8, 20
Hi Rob,
On Wed, Aug 8, 2012 at 8:50 AM, robgriffin247 wrote:
> So it was simple, or so it seemed.
> Now to throw a spanner in the works!
>
> I got this error when testing it on my more powerful desktop (using one of
> my lists put in to a new object) :
>
> #put list in to new object called "temp"
Hi Sachin,
There are at least two ways. The safer way is to use a regular
expression to find the matching columns, like this:
a <- initial_data[grep("^OFB[0-9]+", names(initial_data))]
Alternatively, if you know that the columns you want are the first 8
you can select them by position, like this
gt;
> On Sat, Aug 11, 2012 at 10:46 PM, Ista Zahn wrote:
>>
>> Hi Sachin,
>>
>> There are at least two ways. The safer way is to use a regular
>> expression to find the matching columns, like this:
>>
>> a <- initial_data[grep("^OFB[0-9]+", n
There is grid.table in the gridExtra package
(http://code.google.com/p/gridextra/wiki/tableGrob), but for thesis
tables I think you're better off trying to solve the difficulties
you've been having with xtable. I can also recommend the latex
function in the Hmisc package, which makes it easier to d
Hi Jun,
I think
merge(df1, df2)
should do it.
Best,
Ista
On Tue, Aug 14, 2012 at 3:05 PM, Jun Shen wrote:
> Dear list,
>
> Let's say we have a data frame as follows,
>
>>expand.grid(a=1:5,b=c(1,5,10,20),DV=c(0.1,0.2,0.3))->df1
>>df1$DV<-rgamma(60,shape=10)
>
> columns a and b are two levels.
It makes sense if you think it through. Your index vector is
a$y==0
[1] FALSE TRUENA FALSE TRUENANA FALSE FALSE TRUE
and ?"[" says
NAs in indexing:
When extracting, a numerical, logical or character 'NA' index
picks an unknown element and so returns 'NA' in the corre
Hi Conrad,
On Wed, Sep 5, 2012 at 3:14 PM, Conradsb wrote:
> I currently have a data set in which gender is inputed as "Male" and "Female"
> , and I'm trying to convert this into "1" and "0".
This is usually not necessary, and makes things more confusing. "Male"
and "Female" is clear and self-ex
On Fri, Sep 7, 2012 at 3:16 PM, Rui Barradas wrote:
> Hello,
>
> Start by (re-)reading An Introduction to R, file R-intro.pdf in your doc
> directory. Chapter 10.
>
> You're just computing, not returning the result of that computation. Nor
> anything else, ADD() does not return a value.
Sure it d
Hi all,
I just discovered that R considers characters to be really big:
> "a" > 999
[1] TRUE
> "a" > 9e307
[1] TRUE
> "a" > 9e308
[1] FALSE
and that some characters are literally infinitely big:
> "Z" >= Inf
[1] TRUE
although not all:
> "a" > Inf
[1] FALSE
This came as a surprise to me (alt
ch digits are lower than characters.
>
> You'll also note you get apparently strange behavior like "34" < "9"
> if you don't think about things in terms of dictionary orderings.
>
> Does that make sense?
>
> Michael
>
> On Tue, Jan 3, 20
gt; --
> View this message in context:
> http://r.789695.n4.nabble.com/texi2dvi-problem-when-compiling-incorrect-Latex-code-tp3870827p3870827.html
> Sent from the R help mailing list archive at Nabble.com.
>
> __
> R-help@r-project.org mai
ailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clinical and Social Psychology
http://yourpsych
mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
--
Ista Zahn
Graduate student
University of Rochester
Department of Clin
___
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
901 - 1000 of 1079 matches
Mail list logo