Displaying 5 results from an estimated 5 matches for "tylerdeanrudolph".
2010 Feb 19
3
plot circular histogram
In conducting studies of animal orientation and displacement, I need to
produce circular histograms of angles (bearings in radians 0-2pi) where the
centre of the circle indicates very few observations for a given bin of
angles and outwardly concentric circles indicate greater frequencies of
observations for a given bin of angles. I'd like not to have to write the
function myself but I
2010 Jul 13
0
potential BUG in BBMM
http://r.789695.n4.nabble.com/file/n2287976/BBMM_BUG.RData BBMM_BUG.RData
I've been constructing utilization distributions for 63 animal movement
trajectories using a Brownian bridge movement model with BBMM. I started
noticing after running the routine numerous times at different resolutions
that certain UDs would be grossly wrong, meaning instead of returning a
strongly negative
2010 Nov 13
1
truncate integers
Is there any really easy way to truncate integers with several consecutive
digits without rounding and without converting from numeric to character
(using strsplit, etc.)?? Something along these lines:
e.g. = 456
truncfun(e.g., location=1)
= 4
truncfun(e.g., location=1:2)
= 45
truncfun(e.g., location=2:3)
= 56
truncfun(e.g., location=3)
= 6
It's one thing using floor(x/100) to get 4 or
2010 Dec 27
1
another superscript problem
I've exceeded the maximum time I am willing to accept for solving simple
problems so I thank all in advance for your assistance.
I am trying to plot text combined with an object value and a superscript.
obv = 5
text = "Population mean ="
ss = ^o # degrees
Something like this (very naive so you get the idea):
expression(text, obv, ss)
paste(text, obv) # works ...but of course I
2011 Feb 01
2
"each" argument in rep (Bug?)
I have a vector of unique elements that I want to replicate a variable number
of times depending on the element (lengths all > 800). However I noticed
that the resulting length was not the sum of the each argument. The
following example demonstrates this.
I am confused as to why this works:
rep(1:4, c(2,1,2,1))
[1] 1 1 2 3 3 4
but this doesn't:
rep(1:3, each=c(2,1,2))
[1] 1 1 2