search for: wnew

Displaying 4 results from an estimated 4 matches for "wnew".

Did you mean: new
2010 Jun 05
3
Wilcoxon test output as a table
...lcox.test(x ~ GrFac, alternative="two.sided", data=Dataset)$statistic)) P <- as.matrix(lapply(Dataset[2:11], function(x) wilcox.test(x ~ GrFac, alternative="two.sided", data=Dataset)$p.value)) W <- format(W, digits = 5, nsmall = 2) P <- format(P, digits = 1, nsmall = 3) Wnew <- matrix(paste(W), ncol=ncol(Dataset[2:11])) colnames(Wnew) <- paste(colnames(Dataset[2:11])) Wnew P This is the output (excerpt): > Wnew X1 X2 X3 X4 X5 X6 X7 X8 IA IV [1,] "4582.50" "4335.50" "4610.50&...
2003 Nov 25
2
Lambert's W function
Hello List does anyone have an R function for the Lambert W function? I need complex arguments. [the Lamert W function W(z) satisfies W(z)*exp(W(z)) = z but I could'nt even figure out how to use uniroot() for complex z] -- Robin Hankin Uncertainty Analyst Southampton Oceanography Centre SO14 3ZH tel +44(0)23-8059-7743 initialDOTsurname at soc.soton.ac.uk (edit in obvious way; spam
2005 Dec 21
2
Random numbers
Hi All. I have R code whose functionality is being replicated within a C+ program. The outputs are to be compared to validate the conversion somewhat - however (as is always the case) I have stuffed my code with random number calls. Random uniform numbers in C+ are being produced using the (Boost) mersenne-twister generators (mt11213b & mt19937) - which is the default type of generator
2007 Nov 13
2
group mean, minus each row's value
I used the following to assign each row the group average, where w is the new group average variable, x is the variabale to be averaged, and g is the nominal group indicator: w <- ave(x,g) Now I want to calculate the group average, but WITHOUT each row's value of x. Is there an easy way to do this? I'm sure I'm missing something obvious here, but for the life of me I can't