search for: trafton

Displaying 18 results from an estimated 18 matches for "trafton".

2001 Jul 10
4
accessing a table
Hi, all. I'm sure this is a simple question, but I'm having problems figuring it out myself... I have a table: > currenttable <- table(junk[-1],junk[-n]) > currenttable bar foo junk bar 2 2 0 foo 1 0 0 junk 0 0 1 and I'd like to know the result of the cell currenttable(bar,foo). what is the best way to get that result? thanks!
2002 Oct 08
3
repeated measures help; disagreement with SPSS
Hi, all. I have a simple design I'm comparing to output from SPSS. the design is 1 repeated measure (session) and 1 between measure (cond). my dependent measure is rl. here is the data I'm using (in a data.frame): mig <- data.frame(subj=factor(rep(subj,3)), cond=factor(rep(cond,3)), session=factor(c(rep(1,nsubj),rep(2,nsubj),rep(3,nsubj))),
2001 Jul 09
3
transitions in R
Hi, All. I'd have a set of data in an array: process <- c( 5 , 7 , 4 , 1 , 4 , 1 , 4 , 1 , 4 , 4 , 1 , 5 , 4 , ...) and I'd like to know the number of transitions in this data. I calculate transitions as the number of times a number follows another number. thus, something like this would be a 1 deep transition: 1 --> 1 : 10% (and actual number of 1 --> 1 occurrences) 1
2001 Mar 30
5
PICT output?
hi, all. I use R on a unix (linux) box and am quite happy with it. However, sometimes I need to create a graph that needs to be used with Microsoft Word or Powerpoint (ug). I can create a png or jpeg format picture, but the text look pretty crummy because jpeg is bitmapped. I can also create a PS/EPS version (my preference), but then it doesn't display properly in word or powerpoint (but it
2001 Apr 03
0
graph from unix into word
On 31 Mar 01,, R-help Digest wrote (re: R-help Digest V2 #380): > Date: Fri, 30 Mar 2001 09:49:21 -0500 (EST) > From: Greg Trafton <trafton at itd.nrl.navy.mil> > Subject: [R] PICT output? > > hi, all. I use R on a unix (linux) box and am quite happy with it. > However, sometimes I need to create a graph that needs to be used with > Microsoft Word or Powerpoint (ug). I can create a png or jpeg format &...
2001 Apr 03
0
PICT output? R plot to word
On 3 Apr 01,, R-help Digest wrote (re: R-help Digest V2 #382): > - ----- Original Message ----- > From: "Mark Myatt" <mark at myatt.demon.co.uk> > To: "Greg Trafton" <trafton at itd.nrl.navy.mil> > Cc: <r-help at stat.math.ethz.ch> > Sent: Monday, April 02, 2001 9:31 PM > Subject: Re: [R] PICT output? > > > > 2) Is there a way to get an R plot to come out looking good in > > >powerpoint or word > > > &g...
2003 Mar 18
1
temperature profiles on maps
Hi, all. I'm looking for a way to generate temperature profiles and display them in different colors on different maps. I'm basically looking for a way to display simple meteorological graphs using different color sets within R. Is there a way to do that kind of thing in R? failing that, is there any way to create temperature profiles in R? thanks! greg
2001 Apr 30
2
margin problems?
hi, All. I'm using R 1.2.2 on a linux box. I have very long labels on my y axis, and when I try to print them out, they always come out clipped so I can't see them. How do I change the margin for the y axis? I've tried mai and mar, but they don't seem to do anything... process.names <- c("Makeprod-data", "Makeprod-QMM", "Search",
2001 Oct 04
3
printing out tables to a file using cat...
Hi, all. I'd like to print out a table to a file (I'm using cat(...,file="foobar")). the problem is, cat doesn't print out the headings for the table (making the table hard to interpret!). For example: > table(showdistribution(nw.109.transitions, interruptions[1])) interruption opened-map 1 2 >
2002 Feb 08
1
looping through lists...
Hi, all. I have a whole group of lists with things like this: nw.1$cond (a string) nw.1$RL (a vector of 10 values) nw.1$IL (a vector of 10 values) and I have lots of these lists: nw.201 nw.202 nw.203 ... what I'd like to do is be able to get specific values from all these lists (like the mean of $RL) for each indivividual list. I can certainly do this manually
2001 Jul 05
3
plotting time
Hi, all. I'm trying to create a plot that has a range of about an hour on the x axis, starting at about 10:15. I have a way I'm currently doing it but it's not working. this is what I want on the x axis: | | | | | | | | | | ---------------------------------------------- 10:15 10:25 10:35 10:45 10:55 11:05 11:15 what's the best way to plot this out like this? currently,
2001 Jul 10
1
returning quartiles of a list?
Hi, all. I have a list: process <- c( 5 , 7 , 4 , 1 , 4 , 1) and I'd like to get each half (or each third or each quartile) of the list: process.firsthalf would be (5, 7, 4) and process.secondhalf would be (1, 4, 1). note that I'm not interested in the numeric quartiles (then I could use quantile or several other functions). what is the best way to get this kind of thing? for
2004 Oct 28
1
changing coordinate systems
Hi, All. I am working with some eye-tracking data. I have a graph I generate in R with arbitrary plotting commands which I want to display. Then I want to plot the eyetracking data overlayed on it. The eye-tracking data is in x-y coordinates on a 640x480 coordinate system. Ideally, what I'd like to do is plot my R graph (e.g., plot(1:10)), and then change the complete coordinate system of
2005 May 19
1
logistic regression: differential importance of regressors
Hi, All. I have a logistic regression model that I have run. The question came up: which of these regressors is more important than another? (I'm using Design) Logistic Regression Model lrm(formula = iconicgesture ~ ST + SSP + magnitude + Condition + Expertise, data = d) Coef S.E. Wald Z P Intercept -3.2688 0.2854 -11.45 0.0000 ST 2.0871 0.2730 7.64
2008 Sep 02
1
aov or lme effect size calculation
(A repost of this request with a bit more detail) Hi, All. I'd like to calculate effect sizes for aov or lme and seem to have a bit of a problem. partial-eta squared would be my first choice, but I'm open to suggestions. I have a completely within design with 2 conditions (condition and palette). Here is the aov version: > fit.aov <- (aov(correct ~ cond * palette +
2001 Apr 19
1
arrows or graphics below axes?
Hi, All. I'm trying to make an arrow pointing to a particular value on the x axis. So, this is pretty much what I want: 20 210 220 230 240 250 260 ... ^ | | any ideas how to do this? I tried a few things (like arrows), but they didn't want to plot outside of the actual "plot" area... thanks for any
2001 Apr 23
1
location of multi-line labels on barplots?
Hi, All. I have a barplot I am making that has a 2 line label: names(GC) <- c("Read-Off", "Spatial\n Transformations", "Vis Changes", "Plans", "Abandon") and here, Spatial Transformations should be on 2 separate lines. However, when I break it as above (with the \n), the "Spatial" part is pushed up so that it overlaps the Tick mark
2008 Aug 30
0
calculating effect size for aov or lme
Hi, All. I'd like to calculate effect sizes for aov or lme and seem to have a bit of problems. partial-eta squared would be my first choice, but I'm open to suggestions. Here is the aov version: > fit.aov <- (aov(correct ~ cond * palette + Error(subject), data=data)) > summary(fit.aov) Error: subject Df Sum Sq Mean Sq F value Pr(>F) Residuals 15 0.17326