-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integer variables not handled by some functions #553
Comments
|
Where do you get values that are integer and not numeric from? Just curious what is the use case. |
When reading an observed dataset from a csv file and all the values within a column are integers, R assumes that their class is integer and not numeric. |
More specifically it is usually the time variable of observed data which includes only integers |
@pchelle could you provide an example csv file and the code how you read it? |
To read the observed data, RE function is
|
The example is in the zip |
@pchelle Fixed. Updating reportingengine with this build |
Sometimes observed data are assumed as integer and not numeric variables by R, which crashes the function
toUnit
with the error message below. It could be helpful to enforce integer variables into numeric within functions such astoUnit
(usingas.numeric
?)The text was updated successfully, but these errors were encountered: