Displaying 2 results from an estimated 2 matches for "ccut".
Did you mean:
cut
2010 Mar 10
0
Color facets by z-level (solved by creating example)
...6,] 17 10 5 2 1 2 5 10 17 26
[7,] 20 13 8 5 4 5 8 13 20 29
[8,] 25 18 13 10 9 10 13 18 25 34
[9,] 32 25 20 17 16 17 20 25 32 41
[10,] 41 34 29 26 25 26 29 34 41 50
#-----------
ccut <- cut(cc, breaks=c(0, 2, 4, 8, 16, 50))
persp(cc, ticktype="detailed",
zlim=c(0,25), col= palette(rainbow(6))[as.numeric(ccut)],
phi=40)
Also tried setting ccut up as a matrix:
> ccut <- as.matrix(as.numeric(cut(cc, breaks=c(0, 2, 4, 8, 16,
32)) ), nrow=nrow(cmt...
2012 Aug 27
1
How to average time series data around regular intervals
Hi,
I'm pretty new to R and have run into a task which although I'm certain is
within R's capabilities, falls outside of mine. :-) Consider the following
data set:
2012-07-22 12:12:00, 21
2012-07-22 12:15:00, 22
2012-07-22 12:18:00, 24
2012-07-22 12:39:00, 21
2012-07-22 12:45:00, 25
2012-07-22 12:49:00, 26
2012-07-22 12:53:00, 20
2012-07-22 13:00:00, 18
2012-07-22 13:06:00, 22
My