Displaying 20 results from an estimated 20000 matches similar to: "how to get the data in a circle"
2007 Jun 22
3
How to run "mathematica" or "c" programs in R?
I have some programs which were writen in mathematica or c language, but I
donot know how to use these software. So I want to run them in R.
Can I do it ?
How to run "mathematica" or "c" programs in R?
Jian Zhang
[[alternative HTML version deleted]]
2006 Jun 02
2
a question about a simply figure
I think there is a question in R. I donot know the reason.
This is my data about comulative percentage figure. The result is not right.
The first point (no=1,leiji=26.94350) in the plot figure was showen in a
lower location. Why?
Thanks !
> fre
no leiji
1 1 26.94350
2 2 46.86401
3 3 60.59032
4 4 72.17355
5 5 77.85521
6 6 82.05853
7 7 85.56495
8 8 87.64378
9 9
2006 Apr 22
4
how to draw a circle
how to draw a circle (e.g. radius=10cm) of one point?
And how to choose these points in the circle?
Thanks!
[[alternative HTML version deleted]]
2007 Dec 03
2
Why is the program too slow?
Hi,everyone.
I use the following program calculates Fisher's alpha from counts of individuals and species. The program is wrote by Prof. Kyle Harm.
However, when I run the program, it can work very quickly sometimes, but it can not work very well sometimes. It depends on the counts of individuals and species.
For example,
> calc.alpha(1000,70)
[1] 17.14375
> calc.alpha(10000,70)
[1]
2006 Feb 26
2
how to change my data to "point data set" in package "SPLANCE"?
Hi!
I want to use the package "SPLANCE" to do Ripley's K analysis
I have a basic question about the package.
I try to find how to do it, but I cannot.
I hope you can help me.
I donot know how to change my data form to "point data set".
my data form is:
> qumo[1:5,]
code species dbh x y tag status branch
223 10312 QUMO 54.5 7.83 44.80 10306 alive
2006 Apr 18
2
what happen?
Hi!
I want to choose part of the data. But it has a question.
> attach(PIKO)
> PIKO[1:5,]
code species dbh x y tag status branch
92 10142 PIKO 38.9 6.05 12.81 10165 alive 0
109 10213 PIKO 41.0 6.71 26.21 10202 alive 0
135 10222 PIKO 48.3 18.98 21.28 10214 alive 0
146 10223 PIKO 47.0 19.45 22.83 10224 alive 0
147 10223 PIKO 20.0 19.74
2007 Jul 07
2
How to calculate the index "the number of species combinations"?
I want to analyze the co-occurrence of some species. In some papers, the
authors said that the index"the number of species combinations (COMBO)" is a
good index. I try to calculate the index by R language. But I can not get
the right value. I think that I do not understand the concept of the index
because my english is not good.
The concept:
*The number of species combinations *This
2004 Jun 14
1
Piecharts in a graph
Dear R-Community.
I am trying show pie charts on a graph. To be precise, I have series of
catch calues by species by geographic (5 deg by 5 deg) regions. I want
to draw circles (actually pie charts showing the proportion of the catch
in each area) so that I have a graph of catch by species by geographic
area!
I know there is the < symbols(dat$lon,dat$lat,circles = dat$sp1,
add=TRUE) > but
2010 Apr 04
2
One question about saving graph by using xyplot
Hey, folk.
I am trying to get many figures by using the function "xyplot" in the library "lattice". I tried to using the loop to finish it quickly. But I cannot open the saved file after I run the program. But if I use the function "plot" to get other simply figures, it can work. So I want to ask how I can get the saved figures by using "xyplot".
The
2006 Dec 19
2
how to replace some objects?
I want to replace some objects in one row or column.For example,
One colume: a,b,a,c,b,b,a,a,c.
I want to replace "a" with "1", "b" with "2", and "c" with "3".
Like this: 1,2,1,3,2,2,1,1,3.
How to do it? I donot know how to do it. Thanks.
[[alternative HTML version deleted]]
2006 Feb 27
2
about"Riply's K function"and "envelope"
hi!
I did Riply's K function and envelope in the package "SPATSTAT". When the
species number is less, it can work well and it is quickly. But when the
species number is more(example:2000), it told me"memory limit". So I change
"memory limit". But the speed is very slow. I took 13 hours to run the
programe.
Perhaps there are other methods that can do it. Or just
2006 Oct 07
1
random point in a circle centred in a geographical position
Dear List members
I am trying to find a way to generate a random point in a circle centred in a geographical location.
So far I have used the following formula (see code below):
random_x = original_x + radius*cos(angle)
random_y = original_y + radius*sin(angle)
where radius is a random number between 0 and the radius of the circle and
angle is between 0 and 360 degrees
The code bellow works
2011 May 06
1
How to alter circle size
Hello all,
I'm trying to create a heatmap using 2 matrices I have: z and v. Both
matrices represent different correlations for the same independent
variables. The problem I have is that I wish to have the values from matrix
z to be represented by color intensity while having the values from matrix v
to be represented by circle size. I currently have the following in front of
me and an unsure
2006 May 26
1
I cannot load the package "Rcmdr"
I can load the package in other R file, but I can not do it in the file.
How to solve the question?
> local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
Loading required package: tcltk
Loading required package: car
Error in parse(file, n, text, prompt) : syntax error in "*"
Error: .onAttach failed in
2012 Aug 24
3
Euclidean distance function
Hi,
I should preface this problem with a statement that although I am sure this
is a really easy function to write, I have tried and failed to get my head
around writing functions in R. I can use R where functions exist to do what
I want done, but have found myself completely incapable of writing them
myself.
The problem is that I have a table with several rows of species and several
columns of
2007 Jul 14
3
How to read many files at one time?
I want to load many files in the R. The names of the files are "Sim1.txt", "
Sim2.txt", "Sim3.txt", "Sim4.txt", "Sim5.txt" and so on.
Can I read them at one time? What should I do? I can give the same names in
R.
Thanks.
For example:
> tst=paste("Sim",1:20,".txt",sep="") # the file names
> tst
[1]
2017 Oct 24
3
draw a circle with a gradient fill
Hi all,I would like to draw a simple circle where the color gradient follows the rule color = 1/(r^2) where r is the distance from the circle. I would also like to add a color bar with values going from -40 to -110 (and associate those with the color gradient that fills the circle).
So far I experiemented with draw circle
2017 Jun 14
4
[FORGED] Re: draw stripes in a circle in R
On 15/06/17 05:29, David Winsemius wrote:
>
>> On Jun 14, 2017, at 10:18 AM, David Winsemius <dwinsemius at comcast.net> wrote:
>>
>>
>>> On Jun 14, 2017, at 9:46 AM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:
>>>
>>> I don't see a question. If your question is whether R supports pattern fills, AFAIK it does not. If that is
2011 Mar 12
2
Drawing a circle on an existing graph.
I would like to draw a circle on a graph I am plotting in R and use
the current plot's coordinate system.
The most basic functionality I am looking for is the ability to plot a
circle on an already existing graph by simply providing the xy
coordinates for it's centre and the radius.
I am also looking for a way to obtain x,y values of a point (of a
circle) by specifying only the origin x,y
2017 Jun 14
1
[FORGED] Re: draw stripes in a circle in R
Envoy? depuis mon appareil Samsung
-------- Message d'origine --------
De : Rolf Turner <r.turner at auckland.ac.nz>
Date : 14/06/2017 22:53 (GMT+01:00)
? : David Winsemius <dwinsemius at comcast.net>
Cc : r-help at r-project.org
Objet : Re: [R] [FORGED] Re: draw stripes in a circle in R
On 15/06/17 05:29, David Winsemius wrote:
>
>> On Jun 14, 2017, at