Displaying 4 results from an estimated 4 matches for "brunosm".
Did you mean:
brunom
2012 Oct 23
6
Join data frame columns
Hi,
I have a data frame with 100 variables (numeric and non numeric types), and
I want to join them in only one column, like a vector, but i want to keep
the non numeric variables like they are.
I know that i can do something like this:
Suppose that my data is in df variable
new_df<-data.frame(c(df[,1],df[,2],df[,3],df[,4],...........)
This works but i have 100 variables!
Any way of doing
2012 Nov 22
3
ROC Curve: negative AUC
Hi all,
does anyone know why the area under the curve (AUC) is negative?
I'm using ROC function with a logistic regression, package Epi.
First time it happens...
Thanks a lot!
Bruno
--
View this message in context: http://r.789695.n4.nabble.com/ROC-Curve-negative-AUC-tp4650469.html
Sent from the R help mailing list archive at Nabble.com.
2012 Oct 12
7
ifelse reformulation
Hi, i'm trying to simplify some R code but i got stucked in this:
test<-data.frame(cbind(id,x1,x2,x3,x4,x5,x6,x7))
test
> test
id x1 x2 x3 x4 x5 x6 x7
1 1 36 26 21 32 31 27 31
2 2 45 21 46 50 22 36 29
3 3 49 47 35 44 33 31 46
4 4 42 32 38 28 39 45 32
5 5 29 42 39 48 25 35 34
6 6 39 31 30 37 46 43 44
7 7 41 40 25 23 42 40 24
8 8 27 29 47 34 26 38 28
9 9 25 35 29 36
2012 Nov 02
1
add1() alternative
Hi,
I'm trying to build a hierarchical logistic regression model with lme4
package, but I have a problem on selecting the variables to include in this
model.
In a simple logistic regression, using Forward selection, i use a likelihood
ratio test to check which variables i should include in the model, using the
function add1().
The problem is that this function doesn't work with the