Re: [R] stacked bar plot

2011-03-22 Thread Ista Zahn
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=

Re: [R] Collapsing/aggregating columns in a matrix

2011-03-24 Thread Ista Zahn
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,

Re: [R] two plots in qplot

2011-03-25 Thread Ista Zahn
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 _

Re: [R] Appending data to a data.frame and writing a csv

2011-03-25 Thread Ista Zahn
. > 50: In write.csv(sim_data, file = "sim_data.csv", append = TRUE,  ... : > >   attempt to set 'append' ignored > > Kindly guide > > Regards > > Vincy > > > > >        [[alternative HTML ve

Re: [R] two plots in qplot

2011-03-25 Thread Ista Zahn
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

Re: [R] library(foreign) read.spss warning

2011-03-25 Thread Ista Zahn
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

Re: [R] Multiple area plots to share the same x-axis

2011-03-30 Thread Ista Zahn
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

Re: [R] how about a "

2011-03-30 Thread Ista Zahn
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 ___

Re: [R] how to do t-test in r for difference of mean

2011-03-31 Thread Ista Zahn
>        [[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

Re: [R] R licence

2011-04-07 Thread Ista Zahn
ell. >>> > >>> >  -- >>> >  Peter Dalgaard >>> >  Center for Statistics, Copenhagen Business School >>> >  Solbjerg Plads 3, 2000 Frederiksberg, Denmark >>> >  Phone: (+45)38153501 >>> >  Email: pd@cbs.dk  Pri

Re: [R] Assigning a larger number of levels to a factor that has fewer levels

2011-04-07 Thread Ista Zahn
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

Re: [R] R licence

2011-04-07 Thread Ista Zahn
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. > &

Re: [R] a bug in "write.csv"?

2011-04-08 Thread Ista Zahn
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 _

Re: [R] if (cond) expr1 expr2 ??

2011-04-14 Thread Ista Zahn
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,

Re: [R] as.matrix strangeness

2011-04-15 Thread Ista Zahn
> __ > 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. >

Re: [R] Monte Carlo Simulation

2011-04-15 Thread Ista Zahn
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

Re: [R] Print out data frames into neat images

2011-04-18 Thread Ista Zahn
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

Re: [R] Can R replicate this data manipulation in SAS?

2011-04-20 Thread Ista Zahn
 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

Re: [R] Can R replicate this data manipulation in SAS?

2011-04-20 Thread Ista Zahn
== 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

Re: [R] ggplot

2011-04-22 Thread Ista Zahn
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 _

Re: [R] Can R replicate this data manipulation in SAS?

2011-04-22 Thread Ista Zahn
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

Re: [R] Factor function

2011-04-25 Thread Ista Zahn
> 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

Re: [R] Factor function

2011-04-25 Thread Ista Zahn
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.

Re: [R] Sequential Naming of ggplot .pngs using plyr

2011-08-10 Thread Ista Zahn
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

Re: [R] Extract values from a data frame

2011-08-11 Thread Ista Zahn
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]] > > _

Re: [R] generate two sets of random numbers that are correlated

2011-08-11 Thread Ista Zahn
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

Re: [R] Extract values from a data frame

2011-08-12 Thread Ista Zahn
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

Re: [R] Write vector/matrix in a loop

2011-08-16 Thread Ista Zahn
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

Re: [R] merge(join) problem

2011-08-16 Thread Ista Zahn
____ > 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

Re: [R] merge(join) problem

2011-08-16 Thread 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

Re: [R] merge(join) problem

2011-08-16 Thread Ista Zahn
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

Re: [R] Newbie question - struggling with boxplots

2011-08-16 Thread Ista Zahn
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

Re: [R] how to sort the levels of a table

2011-08-16 Thread Ista Zahn
, > "1", "1", "1", "1", "100", "0", "100", "0", "0", > "1000", "1000", "0", "0", "0", "0", "0

Re: [R] packfor

2011-08-17 Thread Ista Zahn
_ > 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

Re: [R] Using require() vs. library()

2011-08-17 Thread Ista Zahn
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 __

Re: [R] question regarding headers with space in the names

2011-08-17 Thread Ista Zahn
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

Re: [R] R and Sweave

2011-08-19 Thread Ista Zahn
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. >

Re: [R] R and Sweave

2011-08-19 Thread Ista Zahn
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

Re: [R] Wiki/revision control to management of CRAN package repository

2011-08-22 Thread Ista Zahn
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

Re: [R] lattice to ggplot2 conversion help

2011-08-22 Thread Ista Zahn
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. &

Re: [R] Multiple regression in R - unstandardised coefficients are a different sign to standardised coefficients, is this correct?

2011-08-22 Thread Ista Zahn
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

Re: [R] automatic file input

2011-08-22 Thread Ista Zahn
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

Re: [R] automatic file input

2011-08-22 Thread Ista Zahn
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

Re: [R] automatic file input

2011-08-22 Thread Ista Zahn
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

Re: [R] Multiple regression in R - unstandardised coefficients a

2011-08-23 Thread Ista Zahn
>> >>             + 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)) >> >>            

Re: [R] Replacing NAs in one variable with values of another variable

2011-08-23 Thread Ista Zahn
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. > >

Re: [R] ddply - how to transform df column "in place"

2011-08-23 Thread Ista Zahn
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

Re: [R] Scatter plots, linear regression in ggplot2

2011-08-24 Thread Ista Zahn
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 >

Re: [R] Odp: reshape/aggregate

2011-08-31 Thread Ista Zahn
; 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

Re: [R] ggplot geom_freqpoly() layers ..?

2011-09-08 Thread Ista Zahn
poly(aes(x = value, >                    y = ..density.., colour = cols)) > > > ### End code ### > > Any help would be appreciated! > > thanks! > >        [[alternative HTML version deleted]] > > _

Re: [R] ggplot geom_freqpoly() layers ..?

2011-09-08 Thread Ista Zahn
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: >

Re: [R] ggplot - class "character" problem

2011-09-13 Thread Ista Zahn
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

Re: [R] ggplot - class "character" problem

2011-09-13 Thread Ista Zahn
> 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,

Re: [R] Automating R script with Windows 7

2012-07-03 Thread Ista Zahn
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

Re: [R] Correlations by subgroups

2011-06-15 Thread Ista Zahn
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

Re: [R] omitting columns from a data frame

2011-06-20 Thread Ista Zahn
.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:/

Re: [R] omitting columns from a data frame

2011-06-21 Thread Ista Zahn
>>> 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

Re: [R] i want to unsubscribe

2011-06-25 Thread Ista Zahn
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

Re: [R] i want to unsubscribe

2011-06-25 Thread Ista Zahn
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

Re: [R] changing graphs in qqplot2

2011-06-26 Thread Ista Zahn
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. > >

Re: [R] (no subject)

2011-07-02 Thread Ista Zahn
//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.

Re: [R] how to best present concentrated data points/ ggplot2

2011-07-05 Thread Ista Zahn
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:

Re: [R] OpenOffice ods spreadsheets in R?

2011-07-09 Thread Ista Zahn
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

Re: [R] grey colored lines and overwriting labels i qqplot2

2011-07-09 Thread Ista Zahn
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 >

Re: [R] grey colored lines and overwriting labels i qqplot2

2011-07-13 Thread Ista Zahn
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

Re: [R] For is.numeric condition in user input

2011-07-24 Thread Ista Zahn
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

Re: [R] ggplot question: changing the label for the Y axis on a histogram

2011-07-25 Thread Ista Zahn
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

Re: [R] ggplot question: changing the label for the Y axis on a histogram

2011-07-25 Thread Ista Zahn
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

Re: [R] Accessing the index of factor in by() function

2011-07-25 Thread Ista Zahn
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

Re: [R] Accessing the index of factor in by() function

2011-07-26 Thread Ista Zahn
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

Re: [R] Problem with anova.lmRob() "robust" package

2011-07-28 Thread Ista Zahn
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

Re: [R] cycling from x11 window in RCommander to graphics device window: Mac Os 10.6.8

2011-07-28 Thread Ista Zahn
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

Re: [R] R 2.13.1 can't find package binaries on R-Forge

2011-07-31 Thread Ista Zahn
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]] > >

Re: [R] R 2.13.1 can't find package binaries on R-Forge

2011-07-31 Thread Ista Zahn
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

Re: [R] Inserting column in between -- "better" way?

2011-08-01 Thread Ista Zahn
;> 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

Re: [R] Errors, driving me nuts

2011-08-01 Thread Ista Zahn
; 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

Re: [R] execute r-code stored in a string variable

2011-08-02 Thread Ista Zahn
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

Re: [R] Extract rows from a matrix according to value in column

2011-08-02 Thread Ista Zahn
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-

Re: [R] rhsape2 bug?

2012-07-21 Thread Ista Zahn
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

Re: [R] Simple reshape problem I am completely missing

2012-07-24 Thread Ista Zahn
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

Re: [R] Between-group variance from ANOVA

2012-07-25 Thread Ista Zahn
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

Re: [R] Sub-Directories

2012-07-27 Thread Ista Zahn
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

Re: [R] Subset data

2012-08-02 Thread Ista Zahn
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

Re: [R] Save & reload list objects

2012-08-07 Thread Ista Zahn
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

Re: [R] lm with a single X and step with several Xi-s, beta coef. quite different:

2012-08-08 Thread Ista Zahn
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

Re: [R] sweave problem with special danish characters

2012-08-08 Thread Ista Zahn
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

Re: [R] Save & reload list objects

2012-08-08 Thread Ista Zahn
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"

Re: [R] choosing multiple columns

2012-08-11 Thread Ista Zahn
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

Re: [R] choosing multiple columns

2012-08-11 Thread Ista Zahn
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

Re: [R] R table as integrable object for large Latex Documents - avoiding SWeave

2012-08-13 Thread Ista Zahn
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

Re: [R] Subsetting rows by multiple levels of selected values

2012-08-14 Thread Ista Zahn
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.

Re: [R] Subsetting with missing data

2012-08-15 Thread Ista Zahn
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

Re: [R] Recoding categorical gender variable into numeric factors

2012-09-05 Thread Ista Zahn
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

Re: [R] Trying to learn how to write a function... can't define a variable??

2012-09-07 Thread Ista Zahn
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

[R] Comparison of numeric and character vectors

2012-01-03 Thread Ista Zahn
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

Re: [R] Comparison of numeric and character vectors

2012-01-03 Thread Ista Zahn
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

Re: [R] texi2dvi problem when compiling incorrect Latex code

2011-10-04 Thread Ista Zahn
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

Re: [R] texi2dvi problem when compiling incorrect Latex code

2011-10-05 Thread Ista Zahn
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

Re: [R] "unload" a library while testing?

2011-10-05 Thread Ista Zahn
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

Re: [R] calling a variable which in turn calls many more variables

2011-10-05 Thread Ista Zahn
___ > 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. >

<    5   6   7   8   9   10   11   >