I have a dataset which I want to use to plot Causal Impact data using ggplot2. I want to replace the data with NA in the first 25 rows in one of the columns. Is that possible and if so, how?
your_dat[1:25,3] <- NA
For the first 25 rows of column 3
That works like a charm. Thank you very much.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.