search for: bbernzw

Displaying 3 results from an estimated 3 matches for "bbernzw".

Did you mean: bbernzwe
2006 Mar 24
4
How to capture t-score and p-values from t.test
When I do t.test on two distributions (see example below), it outputs numerous data about the t.test. What I'd like to do is individually capture some of this data and assign it to other variables. However, I am unable to find anything in the help section. In the example below, the t value is -4.0441 and the p-value is 0.006771 How can I assign these values to two variables, let's
2007 Jun 25
1
R behaviour related to user input (readline()) and run selection
When I run the below section of code I get the following error: Error in if (co == "A" || co[1] == "O") { : missing value where TRUE/FALSE needed When I run the code in two parts where I first get the user's input then afterwards run the if/else section, there is no problem. Is there a way to stop the "run selection" process
2007 Jul 24
1
cor inside/outside a function has different output
I'm calculating correlations between two matrices mat1 <- matrix(sample(1:500,25), ncol = 5, dimnames=list(paste("mat1row", 1:5, sep=""), paste("mat1col", 1:5, sep=""))) mat2 <- matrix(sample(501:1000,25), ncol = 5, dimnames=list(paste("mat2row", 1:5, sep=""), paste("mat2col", 1:5, sep="")))