Displaying 6 results from an estimated 6 matches for "mmean".
Did you mean:
mman
2008 Oct 23
3
Fuctions help!
...)}
Power=function(alfa,m1,m2,s1,s2,n1,n2){....return(powe)}
I want to use "Gmean" and "Gsd" which are the returned values from
"Sampling" function, in "Power" function.
i.e. when I call "power" I want to be able to have something like:
Power(.05,Mmean,Gmean,Msd,Gsd,992,100)
Ps: Mmean and Gmean are the same size. Msd and Gsd are the size.
Thanks
--
View this message in context: http://www.nabble.com/Fuctions-help%21-tp20130620p20130620.html
Sent from the R help mailing list archive at Nabble.com.
2008 Jul 14
1
Computing row means for sets of 2 columns
Is there a better or more efficent approach than this without the use of t() ?
> (m <- matrix(1:40, ncol=4)) [,1] [,2] [,3] [,4] [1,] 1 11 21 31 [2,] 2 12 22 32 [3,] 3 13 23 33 [4,] 4 14 24 34 [5,] 5 15 25 35 [6,] 6 16 26 36 [7,] 7 17 27 37 [8,] 8 18 28 38 [9,] 9 19 29 39[10,] 10 20 30 40
>
2010 May 14
0
Help with using plotmeans - how do I have two or more sets of data on one plot?
Hello
I'm having trouble being able to plot more than one set of data using the
plotmeans function. Plotmeans is where you can plot means and standard
errors easily.
Here is part of my code
plotmeans(Mmeans ~ Month, data=BW.hydat.05HG001, n.label=FALSE)#one set of
data
par(new=TRUE)
plotmeans(Mmeans ~ Month, data=Mouth.hydat.05HH001, col="red")#the second
set of data
Basically I want to show more than one set of data on the same graph, same
axis etc.. The par() function in this code doesn&...
2007 May 08
0
The match of "ave()" for "FUN=SD"
...t; for using "FUN=SD"?
At the beginning I used aggregate(), also for mean and median. But
aggregegate make ""arithmetical errors"" in computing huge records.
Thank's a lot.
Felix
R-CODE:
-------
MEAN <- ave(INPUT[,3], INPUT[,1], INPUT[,2], FUN = mean)
mMEAN <- matrix( c(INPUT[,1], INPUT[,2], MEAN), ncol=3, byrow=FALSE)
SD <- na.omit( aggregate(INPUT[,3], by=list(INPUT[,2],INPUT[,1] ), FUN=sd ) )
mSD <- matrix( c( SD[,2], SD[,1], SD[,3]), ncol=3, byrow=FALSE)
mSD[,1] <- (mSD[,1] - 1 ) #eleminate the c...
2010 Dec 01
2
parametric estimators for species richness in R
...ing some work about species richness estimation. Nonparametric estimation (such as Chao1, Jacknife1) can be done just using function "specpool()" and "estimateR()" in package "vegan". The problem is that I can not found any functions for parametric estimation (such as MMMeans, MMruns, Michaelis-Menten). Do you know any function for doing this? Thanks a lot.
Best wishes,
Wenjing
2011 Mar 22
1
Using the mahalanobis( ) function
Hello all,
I am a 2 month newbie to R and am stumped. I have a data set that I've run multivariate stats on using the manova function (I included the data set). Now it comes time for a table of effect sizes with significance. The univariate tests are easy. Where I run into trouble filling in the table of effect sizes is the Mahalanobis D as an effect size. I've included the table so