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
the -upper: - weights: looks unintentional -> True, I will fix that
one could also put lower and upper right next to each other -> True, I will implement that
are empty entries like lower: and max_changed: deliberate? -> The empty entries are due to NULL values. Would you fix this with a wrapper like the following or are you aware of a better method?
If the value is only ever a scalar or NULL you can also do cat(x %??% "NULL"), using %??% from checkmate.
I don't think you need a helper function here, but if you want to implement one, I would not write a function that outputs a value (using cat), but instead just converts to a string, e.g. to_string <- function(x) x %??% "NULL". It could also do other things, like paste(x, collapse = ", "), if it should be necessary somewhere.
Following the steps from the intro vignette, but then printing the
"CounterfactualMethod"
object:gives the output
-upper: - weights:
looks unintentionallower
andupper
right next to each otherlower:
andmax_changed:
deliberate?The text was updated successfully, but these errors were encountered: