search for: top_decile

Displaying 1 result from an estimated 1 matches for "top_decile".

2010 Mar 08
1
Help with Hmisc, cut2, split and quantile
...brary(Hmisc) read_data=read.table("C:/Sample table.txt", head = T) table(cut2(Read_data$Target,g=10)) However I would like to be able to break the table into ten separate tables, each with both "Actual" and "Target" data, based on the "Target" data deciles: top_decile = ...(top decile of "read_data", based on Target data) next_decile = ...and so on... bottom_decile = ... That way I could manipulate the deciles, graph them separately (and together) and so on, just as easily as I can the whole table. I'm sure this must be simple, but I can't se...