Terrific!
Many thanks, Josh, you put me on the right path with the tip re dput
and the remark about factors.
Using "stringsAsFactors=FALSE" in my read.table and then
"IndexList <- c( unlist(seed_panel[ i, ]), rownames( Control[ j, ] ) )"
did the trick.
Your help is hugely appreciated. Thanks aga
Hi,
I believe you are looking for ?unlist. Here is something that does
what I think you want with data that is my best guess at what yours is
like (if the data in seed_panel is stored as factor, you will probably
need to convert it first somehow).
> seed_panel <- data.frame(V2 = "507D22", V3 = "
Apologies, I neglected to check that the email was plain text. Here is
a the text of the previous email.
Hello,
I am trying to iteratively build a build a panel of variables to
discriminate between two groups.
My starting position is a matrix of experimental data and I have a function
that will
Hello,
I am trying to iteratively build a build a panel of variables to
discriminate between two groups.
My starting position is a matrix of experimental data and I have a function
that will work through all pairs of variables and produce sensitivities,
specificities and p-values for each pair an
4 matches
Mail list logo