Displaying 4 results from an estimated 4 matches for "zmean".
Did you mean:
mean
2007 Apr 27
1
Write text in the
...ot; of my four plots.
>
>Has anybody an idea?
>
>Thanks a lot.
>
>Felix
>
>
>
>My R Code:
>----------
>par(oma = c(2,0,0,0), mfrow=c(2,2) )
>
>mtext("Main title", side = 3, line = 0)
>
>image(zDIV)
>image(zMEDIAN )
>image(zMEAN)
>image(zSD)
>dev.off()
>
>
>
>graphic:
>
>-------------------------------------------
>| MAIN TITLE device region
>-------------------------------------------
>| figure region | figure region |
>| -------------- | ------------ |...
2007 Apr 19
2
Using "mean" if two values are identical
...INPUT <- gsub("^ ", "", INPUT)
INPUT <- t( sapply( strsplit(INPUT, split=" "), as.numeric ) )
colnames(INPUT) <- c("x", "y", "z" )
# HERE START's my PROBLEM #
if (duplicated(INPUT[,1] & INPUT[,2] ))
zMEAN <- mean(INPUT[,3] )
# MATRIX with the mean-z values #
zMATRIX <- matrix(c(INPUT[,1], INPUT[,2], INPUT[,3] ), ncol=3, byrow=FALSE)
#############
## dat.dat ##
#############
29 4.5 1.505713
29 4.6 1.580402
29 4.7 1.656875
29 4.8 1.735054
30 0 0
30 0.1 0.00096108
30 0.2 0.00323831
29 4.5...
2008 Aug 21
3
Boxplot 5% and 95% quantile instead of 25% and 75%
Hi,
I'm new to the whole R-thing as a replacement for Matlab, not disappointed sofar ;)
I found out how to make nice looking boxplots, but i also would like the make a boxplot with 5% and 95% instead of the standard 25 and 75% quantiles.
My csv input looks something like:
LOCATION FILTER NR DATE VALUE MONTH
Peelhorst01 1 14-Jan-94 23.07 1
Peelhorst01 1 28-Jan-94 23.68 1
Peelhorst01 1
2007 Apr 27
0
Write text in the "device region" of a graphic device
...I use "mtext()" I can
only write in the "figure region" of my four plots.
Has anybody an idea?
Thanks a lot.
Felix
My R Code:
----------
par(oma = c(2,0,0,0), mfrow=c(2,2) )
mtext("Main title", side = 3, line = 0)
image(zDIV)
image(zMEDIAN )
image(zMEAN)
image(zSD)
dev.off()
graphic:
-------------------------------------------
| MAIN TITLE device region
-------------------------------------------
| figure region | figure region |
| -------------- | ------------ |
| | | | | | |
| | | | |...