This function is run when a user clicks the "Load source data" button in the
main MixSIAR GUI, and creates a separate GUI window (source_win
) where
the user loads the source data. build_source_win
calls
load_source_data
when the user clicks the "I'm finished" button.
build_source_win()
The "Load source data" window contains:
Questions the user if their source data is "by factor" (if they have Fixed or Random Effects),
Questions the user if they have Concentration Dependence data,
Buttons to either load "raw" or "means + SD" source data.
If mix
does not yet exist, a WARNING appears.
A green check appears if the source data is successfully loaded, or a red_x if not.
load_source_data
, which is run when the "Load source data"
window is closed by clicking the "I'm finished" button.