Displaying 2 results from an estimated 2 matches for "diagnosis1".
Did you mean:
diagnosis
2008 Nov 12
3
R- transform data frame into matrix
...ows of the matrix,
levels(marker) the columns and values are the actual content of the matrix.
However, as can been seen in the dataframe, some observations are missing and
should result in <NAs> in the resulting matrix, giving a result like this:
marker 1 2 3
diagnosis1 value value value
diagnosis2 value value value
diagnosis3 value NA value
Can anyone help out with some code for this? I have tried to look this up in
the mailing list as it has probably been answered before but only found
aspects of the problem which I was just not...
2010 May 19
2
Joining two (or more) frequency tables
Hi,
I am still new to R and have, in spite of searching all over, found no
"understandable" documentation for how to join two (or more) frequency
tables.
Why would I want to do that and what do I mean by "joining" ? Let me try
to explain:
I have a diagnosis form that allows registration of up to three diagnosis
codes on animals with birth defects, like this:
father.id