Closed LuciaHrrr closed 6 years ago
Hi - please check the structure of your dataframe to ensure that your data column is a date (and not a factor).
Might have to do as.Date(
On Thu, Oct 4, 2018 at 5:34 PM Justice Haque notifications@github.com wrote:
Hi - please check the structure of your dataframe to ensure that your data column is a date (and not a factor).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/klarsen1/MarketMatching/issues/7#issuecomment-427211399, or mute the thread https://github.com/notifications/unsubscribe-auth/AJqqdLR8IeqbUqYMbVLxbj02t7UHI8p6ks5uhqkIgaJpZM4UPWsF .
I have a dataset with dates spanning from 2018-02-02 to 2018-05-24 and an intervention on 2018-05-04.
I've set start_match_period="2018-02-02" end_match_period="2018-05-03" end_post_period = "2018-05-24" which should be correct but I keep getting this error and have no idea why:
Error in stopif(length(post_period) == 0, TRUE, "ERROR: no valid data in the post period") : ERROR: no valid data in the post period In addition: Warning message: In max(date) : no non-missing arguments to max; returning -Inf
@klarsen1 can you please help me out?