Displaying 20 results from an estimated 2000 matches similar to: "changing coordinate systems"
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!
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
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))),
2010 Sep 16
1
How do I create a plotable zoo object based on weekly data?
Dear readers,
The problem is simple: I have weekly time series data with a maximum
week number of (52,53,52,52) in (2008,2009,2010,2011) respectively. That
means I have a dataset looking like this:
2008-01 value
2008-02 value
.
.
2011-52 value
And I would like to turn that data into a plotable zoo object. Now a
simple example containing 4 data points, each being on the December
28th, would be:
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
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 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
2010 Oct 10
1
Create single vector after looping through multiple data frames with GREP
Hello all,
I changed the subject line of the e-mail, because the question I''m posing now is different than the first one. I hope that this is proper etiquette. However, the original chain is included below.
I've incorporated bits of both Ethan and Brian's code into the script below, but there's one aspect I can't get my head around. I'm totally new to programming
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 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
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
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
>
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
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 +
2010 Oct 14
2
how to play multiple speex audio streams simultaneously
Hello,
In a way similar to speexclient voip example, I want to have a voip
application where 3 or more users can interact. This creates the following
problems "1. How to playback 2 or more audio streams such that they appear
overlayed (parallel)". The audio streams are speex encoded.
I have few approaches in mind.
1. Create multiple decoder states and multiple ALSA audio playback
2008 Aug 23
0
Coordinate systems for geostatistics in R (imicola)
> If you use the spatial objects provided by the
> sp-package (http://cran.r-project.org/web/packages/sp/vignettes/sp.pdf)
> you transform your data to other projections using the spTransform package.
Thus you will need the rgdal package in complement (it actually includes
spTransform). This function is extremely convenient: you can manage
coordinate transformations extremely easily
2014 Aug 15
0
Coordinate systems on on nv10-era cards
So I did a lot more debugging on this. I wrote a program that draws a
triangle to an fbo, and then blits that to fb 0. If I draw the
triangle with
glBegin(GL_TRIANGLES);
glColor3f(1, 0, 0); glVertex3f(-0.6*128 + 128, -0.75*128 + 128, 0.5);
glColor3f(0, 1, 0); glVertex3f(0.6*128 + 128, -0.75*128 + 128, 0);
glColor3f(0, 0, 1); glVertex3f(128, 0.75*128 + 128, 0);
glEnd();
Then all
2012 Mar 10
1
Help on subgraphs in xyplot of lattice library
Dear All,
I would like to ask a question on how to do overlay plots in each subgraph of xyplot.
1. I did simulations for m=1000, 2500, 5000, 10000, as the sample sizes.
2. for each sample size value m, 4 graphs are generated; each graph contains overlayed comparisons between 4 methods,
3. now I want put them into a 4-by-4 plot by xyplot, i.e., 4 sample size values, each of which has 4 plots.