Closed bianleleren closed 4 years ago
Thanks! You can predefine the value of each argument in the expoure_estimate_simple function (detailed codes for this function in here) to test why you have got the error discussed above. I guess the problem may be on your dataset, do you have transformed all the columns with the data information into a standard formulation?
I'm sure I have transformed all the data into right type!
Could you share your dataset with me? I think it is easier to find out the problem.
Alright, please check your email. I want to get the simple estimation of the individual's temperature exposure for ten days before the "date" variable in the dataset.
Warning messages: 1: In FUN(newX[, i], ...) : NAs introduced by coercion 2: In FUN(newX[, i], ...) : NAs introduced by coercion I ran your data step by step, but there are two Warning messages, what is wrong?
I have ran your code successfully before, but this time when I add some new weather data and pollutant data to my dataset,I cannt execute any of you estimate fuction and the error like this: It seems the problem is about the date in the weather and pollutant data, but I am sure the date to be estimated has been fully covered.