Displaying 20 results from an estimated 180 matches similar to: "store and repeat data based on row names (loop, if statement)"
2010 Jun 08
3
partial matches across rows not columns
Hi R users,
I am trying to omit rows of data based on partial matches an example of my
data (seal_dist) is below:
A quick break down of my coding and why I need to answer this - I am dealing
with a colony of seals where for example A1 is a female with pup and A1.1 is
that female's pup, the important part of the data here is DIST which tells
the distance between one seal (ID) and another
2008 Jun 13
1
Looping, Control Flow & Conditional Statements
Dear R Group:
I have little experience using R and even less experience with control
flow type questions.
See the following code:
a1 = c(0, 1, 1, 1,
0, 0, 0, 0, 0,
0, 0, 1,
1, 1, 1, 0, 0)
for(i in 1:1){
sx <- paste("a",i,sep="")
s <- eval(parse(text = paste("a",i,sep="")))
{g = numeric(length(s))
k =
2012 May 04
7
Breaking up a Row in R (transpose)
I have the following:
Time A1 A1 B1 B1 C1 C2
x y x y x y
0 5 6 6 7 7 9
1 3 4 4 3 9 9
2 5 2 6 4 7 4
I want to change it to the following:
0 1 2
x y x y x y
A1 5 6 3 4 5 2
B1
2001 Feb 06
0
ArcView, Arcinfo in Wine?
Is anyone using these softwares in Wine ?
Does it work ?
Pasquale
2002 Aug 26
0
Re: RArcInfo 0.3 (fwd)
Hi,
I have been thinking about your questions and comments. And I think I have
the answers. :D
> the way you draw the polygons has the consequence that if the larger one
> is drawn after the smaller one,
> the color of the smaller one is "overwritten"
> and therefore the map is really wrong in the relevant area.
> so this needs fixing.
Another approach is sorting the
2005 Mar 17
0
Landscape indeces analysis methods as an R package!?
Dear Barry,
Thanks for your stimulating reply. As you see I have send a CC of this
reply to the R mailing list. The R mailing list will be the best place
to send your queries. You can subscribe here:
http://www.r-project.org/mail.html
I would think there is an interest in the provision of landscape
indices analysis methods in R. There are several packages for landscape
indices analysis
2004 Apr 05
1
Drawing maps in R?
What tools and documentation exist for producing maps and working
with polygon and polylist objects in R beyond the following:
* Packages maps, mapproj, maptools, and mapdata.
* Becker and Wilks (1993, 1995), listed as references in the
documentation on the "map" function.
Thanks,
Spencer Graves
2009 Jan 02
0
Spatial Data Analysis in R [was: Basic Question about use of R]
resending to provide a more informative subject line....
On Fri, Jan 2, 2009 at 3:21 PM, Kingsford Jones
<kingsfordjones at gmail.com> wrote:
> Hi David,
>
> A general answer to your question is: yes, R would be useful for such
> analyses - particularly when interfaced with a GIS. For an
> introduction to the types of spatial tools available in R see the Task
> View for
2009 Jan 02
1
Basic Question about use of R
Dear Sirs:
I am not yet a user of R. My background includes the use of (Turbo)
Pascal for scientific analysis of underwater acoustics problems (e.g.
sound ray tracing and array gain in directional noise fields.)
I have become interested in the following type of problem:
(1) select , say, 1000 random locations within the continental United
States;
(2) characterize (statistically) the
2004 Sep 24
2
maps for Russian Federation
Dear all,
I am interested in plotting maps visualizing spatial statistics in an
aggregated fashion, according to administrative boundaries. Partially, I
want to visualize some spatial data for administrative units (autonomous
republics, oblasts, krays) of the Russian Federation on a geographical
map.
I have found the maps package (and related) and would like to use this
package e.g. in a kind
2005 Feb 25
2
Teaching R in 40 minutes. What should be included?
If _you_ were asked to give a 40 minute dog and pony show about R for
a group of scientists ranging from physicists to geographers what
would you put in? These people want to know what R can do.
I'm thinking about something like:
A. Overview
B. data structures
C. arithmetic and manipulation
D. reading data
E. linear models using glm
F. graphics
G. programming
H. other tricks like rpart or
2001 Jul 03
3
Some questions about R-(D)COM
Hello Thomas,
I am writting to you because I have some questions about R-(D)COM. The
first one is whether it can compiled using the MINGW C compiler, that
is recomended by B. Ripley to compile R under Windows.
The other questions are:
- How can I open/close connections directly from C/C++?
- Do you know about a free Visual Basic compiler?
The final purpose of using R-(D)COM is to create a
2004 Feb 26
1
writing polygons/segments to shapefiles (.shp) or other A rcGIS compatible file
The main limitation of the shapefiles package that I put together is that it
does not create shapefiles from R objects - rather it only writes shapefiles
that have been read into R and manipulated within the constraints of the
existing file structure. By this I mean that for example you can change the
coordinates of points and write them back out. Or you can add a bunch of
blank columns in the
2000 Sep 29
0
Is it R or I?
Salutations:
I have been trying to translate a S-PLUS/ArcInfo (GIS software) application
that I wrote on a SGI (IRIX) platform to public domain R and GrassGIS on
a Linux platform. I am almost on the verge of abandoning it as I find R to
be
rather unstable, slow and frustrating.
I enclose a section of my code for R experts to examine
hoping that they'll point out that all the above three are
2007 Feb 15
0
new syntax for autostart and repeat
Hello:
I''m a little confused as to the >0.20 brb syntax as it relates to autostart
and repeat.
In short, I''d like to know the easiest way to automatically start a worker
and have it repeat every xx minutes. This was easy in the previous version
because you would simply do : ''repeat.every 20.minutes'' or similar in the
worker.
I''m sure
2007 Feb 15
0
disregard RE: new syntax for autostart and repeat
So disregard this question. I followed Mason Hale''s suggestion that I pass
in some worker_args and all is well in the scheduler.yml file.
Brian
_____
From: Brian Lucas [mailto:blucasCO at gmail.com]
Sent: Thursday, February 15, 2007 2:49 PM
To: ''backgroundrb-devel at rubyforge.org''
Subject: new syntax for autostart and repeat
Hello:
I''m a
2004 Aug 05
1
tcltk: repeat event while button is down?
Is there a way in TCL/TK to trigger an event multiple times while a
button is held down? I'd like to have an rgl scene continuously
rotate until the button is released.
Duncan Murdoch
2008 Feb 19
0
Multiple key presses are hindered when repeat turned off
I have verified this on two machines, but it would be helpful if others
out there can reproduce it too. Also, I do not know if it is Xorg or
the FreeBSD keyboard drivers, since I see no way to reproduce on the
console (i.e. turn off repeat).
In an xterm, type: "xset r off". Then try some multiple-key
combinations (i.e. keep holding first key(s) when you type the next one):
po (o does
2013 Jul 10
0
permanova for multivariate repeat measures toxicology data set
Hello,
I would like to use a permanova to analyze my repeated measures,
multivariate data set using the package vegan (adonis function). I
have several explanatory variables and many clinical
biochemistry/hematological response variables (all continuous,
non-normally distributed).
My explanatory variables are:
ID - 29 levels - individual subjects
Treatment - 2 levels
Sex - 2 levels
Time -
2003 Jul 21
0
Changing the labels on a regression tree (repeat post - with added clarity)
Hello
I posted a very similar question last week, but the responses I
received indicated that my post was unclear....
I have a regression tree created in rpart with
tr.logypsx <- rpart(log(YPSX + 1)
~AGE+drugfact+sexfact+as.numeric(OBSX) +WINDLE + EABUSED + PABAU +
positive.par + control.par + lenient.par, xval = 10, method = 'anova',
cp = 0.0001, data = duhray2)
and then