On Nov 8, 2011, at 8:57 AM, Jean V Adams wrote:
SML wrote on 11/07/2011 09:10:30 PM:
I'm trying to rekey values which denote there is no values, i.e.,
'-999' in a dataset which contains both '-999' and NA entries.
When I try the following command I get the following error:
data.frame[data.f
SML wrote on 11/07/2011 09:10:30 PM:
>
> I'm trying to rekey values which denote there is no values, i.e.,
> '-999' in a dataset which contains both '-999' and NA entries.
> When I try the following command I get the following error:
>
> > data.frame[data.frame$MAR <= -9,"MAR"] <- NA
>
> "mi
I'm trying to rekey values which denote there is no values, i.e.,
'-999' in a dataset which contains both '-999' and NA entries.
When I try the following command I get the following error:
> data.frame[data.frame$MAR <= -9,"MAR"] <- NA
"missing values are not allowed in subscripted assignment
3 matches
Mail list logo