search for: redlognumb

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

2009 Jan 21
1
trouble converting an array to a dataframe
I start with a dataframe called xrays. It contains scores on films from each of two radiologists. It is in "long" format. I used the reshape package to melt a data frame and then cast it into "wide" format, one line for each patient (identified by redlognumb) with scores from both radiologists for a given patient on the same line. I named the result of the casting xrays.data. It is an array. I'd like it to be a three-variable dataframe, with one column for scores from each of two radiologists, and one column for redlognumb (because I will then nee...