search for: ff0cc2f5

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

2006 Oct 25
3
NA handling in as.character applied to a list
Hi all, In some circumstances, as.character applied to a list converts real NA's into the string "NA". Propagation of NAs is something R does very well and unless there are good reasons for losing the NA, it would improve the consistency w.r.t. NA handling for as.character to behave differently. Here's an example: ## Create a list with character, logical, and integer NA