What to do with NA/NaN/Inf values in RMINC results?
[A bit of an artificial question since Jason actually answered it, but I hope this will get the conversational ball rolling for other RMINC users]
Hi Jason,
Using your April 2008 tutorial, we've been able to do a lot with RMINC. Thanks!
We've been able to generate a simple model of seven subjects divided into 'user' and 'control' groups:
R> tmap <- mincLm(file ~ group, gf)
which gives us:
R> tmap
Multidimensional MINC volume
Columns: F-statistic (Intercept) groupuser
[1] "./4006/
When we try to save the 'groupuser' column to a minc file (following the example on page 12 of your April 2008 RMINC tutorial) we get the following error message:
R> mincWriteVolume
Writing column groupuser to file simple_lm.mnc
Sizes: 181 217 181
Error in mincWriteVolume
NA/NaN/Inf in foreign function call (arg 5)
If we try this syntax (as suggested by the previous error message):
R> mincWriteVolume
we get this error message:
Sizes: 181 217 181
Error in mincWriteVolume
NA/NaN/Inf in foreign function call (arg 5)
Yoiks! I'm not sure if this means the results are NaN/Inf-laden or if we're just not using the tools correctly. Your insights??
Ciao for now,
Kate.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- RMINC Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- KateH
- Solved:
- Last query:
- Last reply: