I want to replace all values within an ffdf (using ff package in R for large data). Typically, in a normal dataframe, I would use something like this:
df[df>0] <- 1
Is there an analogous method for ffdf? I wish to keep the object as class "ffdf".