no valid data in the post period
LuciaHrrr opened this issue · comments
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?
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(<your date variable> , format=“<your format>”)
…On Thu, Oct 4, 2018 at 5:34 PM Justice Haque ***@***.***> 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
<#7 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJqqdLR8IeqbUqYMbVLxbj02t7UHI8p6ks5uhqkIgaJpZM4UPWsF>
.