You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I was following the introduction to the R package, I found two examples not "helpfull" to understand as a beginner:
From what I understand, we don't see any change, as the dose of 350 mg is too small to be shown in kg. However, I would suggest:
A first example where we can see the impact of the function
A comment saying why we don't see any difference
It might be also interesting to specify that it is equivalent to simply assigning a new $value
ex: doseParam$value <- toBaseUnit(doseParam, 350, "mg")
As the dose is set at 0.00 kg at first, the "scaling" gives us a value of still 0.00
I think it is not super explicit to understand the behavior of this function
Another remark is that I find (as a beginner) confusing to have a rounded value appear. For example, I would have expected to find something like 3.5* 10E-4 kg in the first case. If the value is rounded to 0.00 kg, then there is no way to know if we are really at 0, or just smaller than 0.01 kg.
The text was updated successfully, but these errors were encountered:
As I was following the introduction to the R package, I found two examples not "helpfull" to understand as a beginner:
From what I understand, we don't see any change, as the dose of 350 mg is too small to be shown in kg. However, I would suggest:
It might be also interesting to specify that it is equivalent to simply assigning a new $value
ex:
doseParam$value <- toBaseUnit(doseParam, 350, "mg")
As the dose is set at 0.00 kg at first, the "scaling" gives us a value of still 0.00
I think it is not super explicit to understand the behavior of this function
Another remark is that I find (as a beginner) confusing to have a rounded value appear. For example, I would have expected to find something like 3.5* 10E-4 kg in the first case. If the value is rounded to 0.00 kg, then there is no way to know if we are really at 0, or just smaller than 0.01 kg.
The text was updated successfully, but these errors were encountered: