Closed bokov closed 4 years ago
The format is very limited. I have only used it with numeric data, and I don’t think that it can handle anything else (but I don’t know).
I think that this style of data modification is a better fit in the underlying library, but generally this kind of character to integer conversion is a non-obvious transformation in many cases, so I don’t prefer its automation. That said, the decision is of course @leeper’s.
Agree - I don't think we want to do automatic conversion here since it's lossy.
Thanks for pointing me to this issue @billdenney. As far as I know prism doesn't really allow factor or characters in the "main" part of the table (except in certain table types you are allowed for a single X column that can be character, e.g. contingency table). In other words, there is no straightforward way of fitting iris into a Graphpad Prism table, unless we are informed about the hierarchy of columns so we can do reshape-like operations on the input data to force it to fit into prism. So raising the error is the intended behavior here.
Withdrawn, I guess?
Related issue: #211 Please specify whether your issue is about:
If you are reporting (1) a bug or (2) a question about code, please supply:
traceback()
run immediately after the error occurssessionInfo()
Put your code here:
session info for your system
traceback
possible workaround
Caveat: I am unfamiliar with the GraphPad format and use-case, so I don't know whether preventing errors by coercing characters and factors to numeric would be helpful or in fact make matters worse by hiding invalid data. Also, I have not tried this with content other than character and factor and have no idea what will happen. Thoughts, @billdenney ?