search for: is_na

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

Did you mean: is_a
2007 Jul 31
1
aggregate.data.frame - prevent conversion to factors? show statistics for NA values of "by" variable?
...a data.frame("mybys") with two columns, both columns of type/format "character". c. Some of the values contained in "mybys" are originally "NA". Prior to submitting the by variables to the aggregate function, I convert the NA values to the text-string "is_na". ( I do this because I want to understand the statistics of variables where their "by" value is NA, and want this information in the results of the aggregate function.) My questions: 1. Is there a "better" way, (other then converting NA's to some text-string), to see...