Displaying 20 results from an estimated 5000 matches similar to: "CircStats reveals underlying R bug?"
2008 Jan 24
1
A bug in circ.plot of CircStats package
Hi,
i found a bug in circ.plot of CircStats package, namely that the plot ingore
the datasets with value = 0. it's simple to fix it, but i cannot seem to
figure out where to submit the fix. is there a official procedure of
submitting bug report/patch to the contributed packages?
--
View this message in context:
2003 Feb 21
1
calculating mean direction (CircStats)
Hi,
I've currently to work with some circular data. Unfortunately I'm not very
familiar with circular statistics and would really appreciate if I could get
some help concerning the CircStats package this way.
My data lies in the range 0 to 2*pi, and is transformed to radians (as
expected by the CircStats methods). Calculating the mean direction
(circ.mean) results for some datasets in a
2006 Aug 14
1
CircStats help
Hello,
I am quite new to R and although I have read some material
(apparently not enough) I'm getting very frustrated. I'm trying to do
some simple circular statistics in R (CircStats, primarily circ.mean)
and I'm confused about the results. What is a negative radian or
degree mean in R? I thought it would be a coterminal angle, but that
doesn't make sense with my data
2003 Aug 20
2
Weighted circular mean
Hello,
Once again, I posted a message without a subject line. Sorry.... here is
the question again.
Is there a simple way to modify the circ.mean function in the CircStats
package to include a vector of weights to obtain a weighted average angle?
Thanks!
Martin
--
Martin Biuw
Sea Mammal Research Unit
Gatty Marine Laboratory, University of St Andrews
St Andrews, Fife KY16 8PA
Scotland
Ph:
2011 Oct 20
1
rose.diag in CircStats package
Dear R community,
I tried to post a query about the use of the rose.diag function from the CircStats package to the r-help forum a few days ago. It gave all appearances of having been successful. It would have been my first post; I am correctly recieving all the R-help emails, but but the message has not appeared anywhere on the forum. Am I held up by the moderator somewhere? any help would be
2010 Mar 09
1
ggplot2 rose diagram
Dear R gurus -
consider this plot:
library(ggplot2)
dat <- sample(1:8,100,replace=TRUE)
smp <- ggplot(data.frame(dat), aes(x=factor(dat),fill=factor(dat))) + geom_bar(width=1)
smp + coord_polar()
Q1. How do I change the font size and weight of bar labels (1,2,3...)? I've been wallowing in the 'Themes' structure and I just can't figure out the correct place to change
2008 Apr 25
0
CircStats Bug? (PR#11266)
I have a vector of dimension 67, but CircStat circ.summary and circ.disp
seems to conclude that the dimension is 1.
I am new to R so maybe I'm just missing something.
> dim(data)
[1] 67 1
> circ.mean(data)
[1] 0.2200071
> circ.summary(data)
n mean.dir rho
1 1 0.2200071 43.12534
> circ.disp(data)
n r rbar var
1 1 43.12534 43.12534 -42.12534
>
2004 May 03
1
circular correlation
I have a problem that deals with correlating wind velocity to seed
collection data. The problem lies in that I have a wind data set that
is contains 2000+ data points and weed collection data on the order of a
couple hundred. Both data sets were collected for the same time period,
but there is not a one-to-one wind velocity->seed location match. My
understanding of correlation is that you
2007 Jul 17
1
Missing value in circ.mean and polar.plot
Hi,
I try to compute circular means for a matrix with NAs, but the function "circ.mean" return only means for lines with complete values and do not accept "na.omit=T" or "na.rm=T", or "na.action=na.omit", or "na.fail=T".
Also, I try to use "polar.plot" of the package poltrix with the same matrix, but angles are not display because of
2011 Jan 10
1
Cosinor en R
Hola a todos,
es la primera vez que escribo a la lista, espero explicarme correctamente.
Trabajo en cronobiología de mamíferos y quiero comenzar a analizar mis datos
con R (haciendo análisis de varianza ya llevo unos años en el entorno). Me
interesa saber si cada una de mis variables podría ajustarse a una función
sinusoidal; tengo medidas cada dos horas para cada una. Querría extraer el
mesor y
2008 Jan 08
1
Range of circular data
I want to get the minimum arc (in degrees) needed to include a set of
compass directions. I would like to use the range.circular() function
of the package circular, because that package understands a compass-type
of angle convention, but it gives results I don't understand. Howver, I
can get the correct answer in the example below, 90 degrees, using the
CircStats package. How can I make the
2003 Oct 16
2
Interpolation of azimuth values
Hello
I will make an interpolation of data which represents azimuth direction
( angle from north in clockwise direction) values.
But there is a problem.
Say, for instance, while 1 and 359 indicate somewhat same direction,
interpolation puts values
in the range from 1 to 359. What can I do to solve the problem ?
Anything you offer ?
thanks in advance
Ahmet Temiz
General Directory of
2004 Jul 21
2
Rose Diagrams
Hi,
Is it possible to create Rose Diagrams of wind data (speed & direction) with
R??
Best regards,
Lars Peters
-----
Lars Peters
University of Konstanz
Limnological Institute
D-78457 Konstanz
Germany
phone: +49 (0)7531 88-2930
fax: +49 (0)7531 88-3533
e-mail: Lars.Peters@Uni-Konstanz.de
web: Lars Peters
<http://www.uni-konstanz.de/sfb454/tp_eng/A1/doc/peters/peters.html>
2004 Jul 16
1
highlighting subset of point with xyplot (or Hmisc(xYplot))
Hello all,
I am trying to use xyplot to give a six panel plot and to highlight
only points (in any panel) that meet a certain criterion. With the
plot command I would do something like:
plot.default(filein$Site,filein$circ.conc)
points(filein$Site,filein$circ.conc,type="p",
pch=ifelse(filein$p.value<5e-02,19,21))
I had thought I could just stick in the pch line from above into
2011 Jan 20
2
circular reference lines in splom
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 <- function(x, y, ...)
{
circ1
2002 Nov 26
2
Existence of non-vectorised functions
Dear R-Group:
Recently, I ran into a problem. I was using a function called "I.1",
which evaluates the first-order modified Bessel function of the first
kind, in the package "CircStats". This function is not vectorized,
since it uses a couple of "if" conditions. However, when I called this
function with a vector argument, I got no error/warning messages in
2002 Apr 29
1
masking functions
Dear all
I was writing some code that needed functions from packages 'MASS' and
'CircStats', and I received a warning saying that the function
'eqscplot' in one of the packages was masked by another 'eqscplot' from
the other package (in fact 'eqscplot' from 'CircStats' seems a short
version of 'eqscplot' from 'MASS'). This masking of
2002 May 16
3
Wind rose plots?
Just out of curiosity, has anyone created wind roses using R?
Thanks.
Tosh
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2002 Apr 24
2
Regarding pp.plot(){CircStats}
[message needed manual approvement:
it had a single line "help" -- MM ]
I have a table containing two columns and some 600 rows. The first column
is a time series in the sense contains the amount of time the model that i
am studying stays in a particular state(ie sojourn time). I
extract the contents of the table using read.table. and extract the
first column from the table
2002 Nov 11
3
Wind roses
Are there any R function or packages that generate wind roses? These are
``star''-like plots that summarize the frequency, direction and magnigude
of windspeeds.
Thanks,
Matt
--
Matt Pocernich
University of Colorado - Denver
Department of Mathematics
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read