[R] How to globally convert NaN to NA in dataframe?
Greg Minshall
m|n@h@|| @end|ng |rom um|ch@edu
Sat Sep 4 18:31:04 CEST 2021
Duncan,
> x[] <- lapply(...) says "set the values in x to the values in the list
> on the RHS", so x retains its class.
thanks!
cheers, Greg
More information about the R-help
mailing list