Closed blm8 closed 2 years ago
Hi @blm8 ,
Are you using the metab()
or metab.mle()
function and what is the column name of your date time vector? Is it datetime
, dateTime
, etc...?
Hi Jake,
This is Ben Miller, I was actually at the Cary Institute with you a few years ago.
I am using metab.mle(), and I have tried both 'date time' and 'dateTime.' Which should I be using?
Thanks so much for your help.
Hi Ben! I hope you're doing well.
Try using datetime
with no spaces between date
and time
.
The metab()
function (rather than metab.mle()
) has a little bit more flexibility with recognizing the datetime column supplied - see code here. I'd recommend using the metab()
function as a wrapper to the metab.mle()
as it is a little bit more efficient in running multiple days and has a few more checks for the format of input data. See a demo of how to use the metab function here, and let me know if you run into any more issues with the date time column.
closing due to inactivity
I am getting the following error message after running the metab.mle.R function:
warning("datetime not found, inferring sampling frequency from # of observations")
I have ensured that my date time vector is read with the POSIXct format. Thoughts?