Displaying 1 result from an estimated 1 matches for "tp4646945p4646988".
2012 Oct 21
2
conditional value assignment
Hi,
I am trying to assign values to records based conditionally on other records
within a dataframe. For example, in the following dataframe the "NA" value
in dat$age would be replaced if the age status for that individual and
specific year can be found in another record. Ideally this would then also
assign the same age status if the individual is recorded in a later year.