I am working with a ff dataset (final_faf_data) because of the size of my database. I am trying to create a new variable dpy which has only only one value (365) for all rows. When I try the following cmd (similar to what I would do in a dataframe)
final_faf_data$dpy <- 365
I get the following error
Error in `[[<-.ffdf`(`*tmp*`, i, value = 365) : assigned value must be ff
So my question is how do I assign it? I tried
vmode(final_faf_data$dpy, 365)
But it gives "NULL"
Any insights would be much appreciated.
TIA, Krishnan