Re: [R] Circular plot - polar plot code questions

2023-04-25 Thread Bruce Miller
Thanks yo Tim and Jim for useful suggestions re: my query on circular plots. Rethinking my goal, it appears Jim's suggestion of alternative linear plots make more sense and likley more intuitive for reader. Bruce __ R-help@r-project.org mailing

Re: [R] Circular plot - polar plot code questions

2023-04-24 Thread Jim Lemon
Hi Bruce, Reading your message, I get the idea that you want a radial.plot with arcs to indicate "at least one bat is in this state'.This can be done with an addition to the rp.type= argument. If you already have what you want in this format, it may not be worth programming it. However, if you

Re: [R] Circular plot - polar plot code questions

2023-04-24 Thread Ebert,Timothy Aaron
nt: Sunday, April 23, 2023 1:19 PM To: r-help@r-project.org Subject: [R] Circular plot - polar plot code questions [External Email] Hi all... I assume there are a host of GGplot2 users out there. I have circular plot - polar plot code questions I needed to create circular - polar plots of reproduct

[R] Circular plot - polar plot code questions

2023-04-24 Thread Bruce Miller
Hi all... I assume there are a host of GGplot2 users out there. I have circular plot - polar plot code questions I needed to create circular – polar plots of reproductive status for bats.  I found a great sample of how to do this here:

Re: [R] Circular Graph Recommendation Request

2022-05-30 Thread Stephen H. Dawson, DSL via R-help
Hi Christopher, Thanks for the reply. Your comments are helpful. I agree with you about relative position in relation to geography. The thing with this particular circular graph is it speaks to the executive ranks a bit more than a bar or line graph. Kindest Regards, *Stephen Dawson, DSL*

Re: [R] Circular Graph Recommendation Request

2022-05-29 Thread Christopher W. Ryan via R-help
If the units of analysis are real spatial regions (e.g. states), how about a cartogram? https://gisgeography.com/cartogram-maps/ An R package (I have no experience with it) https://cran.r-project.org/web/packages/cartogram/index.html The advantage of a cartogram is that it is a single graphic,

Re: [R] Circular Graph Recommendation Request

2022-05-28 Thread Lucas Heber Mariano Dos Santos
Here another one https://rpubs.com/StevenDuttRoss/voronoiTreemap -Original Message- From: Stephen H. Dawson, DSL Sent: Saturday, May 28, 2022 3:37 PM To: Lucas Heber Mariano Dos Santos ; Bert Gunter Cc: r-help Subject: Re: [R] Circular Graph Recommendation Request Thank you, Lucas

Re: [R] Circular Graph Recommendation Request

2022-05-28 Thread Lucas Heber Mariano Dos Santos
Subject: Re: [R] Circular Graph Recommendation Request Thanks, Bert. Will do. Kindest Regards, *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Technology +1 (865) 804-3454 http://www.shdawson.com On 5/28/22 11:55, Bert Gunter wrote: > Very nice plot. Thanks for sharing.

Re: [R] Circular Graph Recommendation Request

2022-05-28 Thread Stephen H. Dawson, DSL via R-help
From: Stephen H. Dawson, DSL Sent: Saturday, May 28, 2022 3:37 PM To: Lucas Heber Mariano Dos Santos ; Bert Gunter Cc: r-help Subject: Re: [R] Circular Graph Recommendation Request Thank you, Lucas! Kindest Regards, *Stephen Dawson, DSL* /Executive Strategy Consultant/ Business & Techn

Re: [R] Circular Graph Recommendation Request

2022-05-28 Thread Bert Gunter
Very nice plot. Thanks for sharing. Can't help directly, but as the plot is sort of a map with polygonal areas encoding the value of a variable, you might try posting on r-sig-geo instead where there might be more relevant expertise in such things -- or perhaps suggestions for alternative

Re: [R] Circular plot

2017-02-14 Thread David L Carlson
text(-.1, 5.5, "1500", pos=2) David C From: swaraj basu [mailto:projectb...@gmail.com] Sent: Monday, February 13, 2017 3:58 PM To: David L Carlson <dcarl...@tamu.edu>; r-help@r-project.org Subject: Re: [R] Circular plot Thank you David, I could get the circle at 12 and clockwise

Re: [R] Circular plot

2017-02-13 Thread Jim Lemon
ircle (r.out = 5, r.in = 5, theta.1=.05, theta.2=2*pi-.05, lwd=3) >> with(dat, DrawCircle(r.out = 5 - score/5, r.in = 5 - score/5, >> theta.1=begin, theta.2=stop, border=col, lwd=4)) >> text(5.2, .4, "1", pos=4) >> text(5.2, -.4, "1500", pos=4) >> >

Re: [R] Circular plot

2017-02-13 Thread swaraj basu
iversity > College Station, TX 77840-4352 > > > > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of swaraj > basu > Sent: Monday, February 13, 2017 10:34 AM > To: r-help@r-project.org > Subject: [R] Circular plot > > I

Re: [R] Circular plot

2017-02-13 Thread Bert Gunter
If you don't get a reply here: 1. Search! (try rseek.org as an R search engine). 2. Try the Bioconductor list. As this appears to be closer to their realm, they may have what you're looking for. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along

Re: [R] Circular plot

2017-02-13 Thread David L Carlson
p [mailto:r-help-boun...@r-project.org] On Behalf Of swaraj basu Sent: Monday, February 13, 2017 10:34 AM To: r-help@r-project.org Subject: [R] Circular plot I want to plot segments deleted from mitochondrial DNA of patients with neuromuscular disorders. I generate the plot on a linear chrom

[R] Circular plot

2017-02-13 Thread swaraj basu
I want to plot segments deleted from mitochondrial DNA of patients with neuromuscular disorders. I generate the plot on a linear chromosome using a code similar to as shown below start<-c(1,5,600,820) end<-c(250,75,810,1200) score<-c(7,-1,4,-6.5)

[R] Checking for modality (R - circular)

2016-07-06 Thread Jeff Reichman
R Users Is there a way to check for modality using the "circular" package in R or any other package ? Circular time data. Jeff [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more,

Re: [R] Circular Statistic in R

2016-03-19 Thread David L Carlson
, 2016 11:33 AM To: David L Carlson Subject: RE: [R] Circular Statistic in R David Thank you for your comments. I am using the circular package and find my data words better when I convert to radians, but I'm lazy and don't like converting back and forth (radian - degrees); but find when I work

Re: [R] Circular Statistic in R

2016-03-19 Thread David L Carlson
roject.org Subject: [R] Circular Statistic in R R-Help Is it preferable to work in Radians or Degrees when performing circular statistics. I'm assuming radians because I'm running into problems in Degrees. Jeff [[alternative HTML versi

[R] Circular Statistic in R

2016-03-16 Thread Jeff Reichman
R-Help Is it preferable to work in Radians or Degrees when performing circular statistics. I'm assuming radians because I'm running into problems in Degrees. Jeff [[alternative HTML version deleted]] __ R-help@r-project.org mailing

Re: [R] circular regression question

2015-10-24 Thread Antonio Silva
Reading the help page with attention I saw that this function fits a regression model for "circular dependent and linear independent". So my question now is, is there a way to fit a model been with the circular as the dependent variable? Thanks Antonio 2015-10-24 20:19 GMT-02:00 Antonio

[R] circular regression question

2015-10-24 Thread Antonio Silva
Dear R users I'm trying to reproduce the results from Lowry et al. 2007 Lunar landings - Relationship between lunar phase and catch rates for an Australian gamefish-tournament fisheryFisheries Research 88: 15–23 Basically we have two columns: Lunar days and CPUE (catch per unit effort). The aim

[R] Circular density estimate to a raster for mapping in GIS - help

2014-03-03 Thread Raphaël Lavoie
Hi all, I created a circular density estimate using package circular from bearings (directions) from 0 to 360° assuming a von Mises distribution. # library(circular) Bearing- c(186,197,158,206,206,185,186,224,183,173,175,240,201,197,

[R] Circular predictor in MARS

2012-07-23 Thread Pierric de Laborie
Hello, I am currently trying to build a statistical model using MARS (multiple adaptative regression splines) with package library earth v3.2-3 However I could not find a way to add a circular predictor, namely the wind direction [0-360°] . In GAMS (library mgcv) there is the possibility to use

[R] Circular statistics- range.circular

2012-03-26 Thread Benedikt Niesterok
Hi everyone, does anyone know, which test of uniformity is run under the command range.circular() in the circular statistics package? It didn't say anything in the description of this command. Your help would be appreciated a lot. Benedikt [[alternative HTML version deleted]]

Re: [R] circular

2011-02-08 Thread Greg Snow
To: R-help@r-project.org Subject: [R] circular Hi, I'm new to R. I'm trying to plot my data into a circle. my data sort of looks like 12,12,4,5,6,5,11,10,3,9,9,9,12,12,2 total of 15 numbers. I'm trying to add all the same numbers, such that, there are 4 of 12s,1 of 11, 1 of 10, 3 of 9s

[R] circular

2011-02-07 Thread Bobby Lee
Hi, I'm new to R. I'm trying to plot my data into a circle. my data sort of looks like 12,12,4,5,6,5,11,10,3,9,9,9,12,12,2 total of 15 numbers. I'm trying to add all the same numbers, such that, there are 4 of 12s,1 of 11, 1 of 10, 3 of 9s, and such so the circle plot would have 4 parts of 12,

Re: [R] circular

2011-02-07 Thread Eik Vettorazzi
Hi, does y-c(12,12,4,5,6,5,11,10,3,9,9,9,12,12,2) pie(table(y)) suits you? Where does circular come from? Am 07.02.2011 21:20, schrieb Bobby Lee: Hi, I'm new to R. I'm trying to plot my data into a circle. my data sort of looks like 12,12,4,5,6,5,11,10,3,9,9,9,12,12,2 total of 15 numbers.

Re: [R] Circular variables within a GLM, GLM-GEE or GAM

2011-01-31 Thread Simon Wood
[s.w...@bath.ac.uk] Sent: 18 January 2011 17:58 To: r-help@r-project.org Cc: Clare Embling Subject: Re: [R] Circular variables within a GLM, GLM-GEE or GAM Is the variable to be used as a predictor? If so mgcv::gam has a couple of circular smoother built in... s(x,bs=cc) or s(x,bs=cp

Re: [R] circular reference lines in splom

2011-01-28 Thread Deepayan Sarkar
On Thu, Jan 20, 2011 at 9:45 AM, Max Kuhn mxk...@gmail.com wrote: Hello everyone, I'm stumped. I'd like to create a scatterplot matrix with circular reference lines. Here is an example in 2d: library(ellipse) set.seed(1) dat - matrix(rnorm(300), ncol = 3) colnames(dat) - c(X1, X2, X3)

Re: [R] Circular variables within a GLM, GLM-GEE or GAM

2011-01-21 Thread Clare Embling
as you suggested. Best wishes thanks, Clare From: Simon Wood [s.w...@bath.ac.uk] Sent: 18 January 2011 17:58 To: r-help@r-project.org Cc: Clare Embling Subject: Re: [R] Circular variables within a GLM, GLM-GEE or GAM Is the variable to be used

Re: [R] circular reference lines in splom

2011-01-20 Thread Peter Ehlers
On 2011-01-19 20:15, Max Kuhn wrote: Hello everyone, I'm stumped. I'd like to create a scatterplot matrix with circular reference lines. Here is an example in 2d: library(ellipse) set.seed(1) dat- matrix(rnorm(300), ncol = 3) colnames(dat)- c(X1, X2, X3) dat- as.data.frame(dat) grps-

Re: [R] circular reference lines in splom

2011-01-20 Thread Max Kuhn
This did the trick: panel.circ3 - function(...) { args - list(...) circ1 - ellipse(diag(rep(1, 2)), t = 1) panel.xyplot(circ1[,1], circ1[,2], type = l, lty = trellis.par.get(reference.line)$lty, col =

[R] circular reference lines in splom

2011-01-19 Thread Max Kuhn
Hello everyone, I'm stumped. I'd like to create a scatterplot matrix with circular reference lines. Here is an example in 2d: library(ellipse) set.seed(1) dat - matrix(rnorm(300), ncol = 3) colnames(dat) - c(X1, X2, X3) dat - as.data.frame(dat) grps - factor(rep(letters[1:4], 25)) panel.circ -

[R] Circular variables within a GLM, GLM-GEE or GAM

2011-01-18 Thread Clare Embling
Hi, I have a variable (current speed direction) which is circular (0=360 degrees), and I'd like my GLM to include the variable as a circular variable. Can I do this? And what is the code? I'm actually doing a GLM-GEE using the 'geepack' package, so want to use it in that, but also

Re: [R] Circular variables within a GLM, GLM-GEE or GAM

2011-01-18 Thread Simon Wood
Is the variable to be used as a predictor? If so mgcv::gam has a couple of circular smoother built in... s(x,bs=cc) or s(x,bs=cp) (if the range of x is less than the full [0, 360] then you can supply a `knots' argument to gam to force the x range to go from 0 to 360, otherwise s(min(x),

[R] circular data

2010-09-08 Thread Karen Sargsyan
Is there any package for clustering of circular data? karsar __ 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,

Re: [R] circular data

2010-09-08 Thread Ben Bolker
Karen Sargsyan karsar at ibms.sinica.edu.tw writes: Is there any package for clustering of circular data? install.packages(sos) library(sos) findFn(circular clustering) See first row ... cheers Ben Bolker __ R-help@r-project.org mailing

[R] Circular shift function?

2009-06-05 Thread babelproofreader
Is there a circular shift function in R similar to the shift function in Octave? From my reading of the manual there does not appear to be one, but if I am mistaken, can someone point out the relevant section? -- View this message in context:

[R] circular analysis

2009-03-30 Thread Blanka Vlasakova
Hi, I am looking for a way to analyze a dataset with a circular dependent variable and three independent factors. To be specific, the circular variable comprises of arrival times of pollinators to flowers. The independent variables are pollinator species, flower sex and locality. I have failed to