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
When loading sources, I'm trying to set source_factors as "Sector", to fit with the same "Sector" I did include in my "Load datamix". I did try different configurations, but always ending up with the same error message :
Error in list.sources.bylev[[lev]] <- SOURCE[SOURCE[, source_factors] == :
attempt to select less than one element in integerOneIndex
Because I do detect significatively differents values for my sources between my 6 different "Sector", and because I'm trying to compare those, I think it's very important to get it right. If I can't, I will have to deal with every Sector independtly, but it's going to arise the error.
Here's my loading code if it can help someone to help me:
Hi,
When loading sources, I'm trying to set source_factors as "Sector", to fit with the same "Sector" I did include in my "Load datamix". I did try different configurations, but always ending up with the same error message :
Error in list.sources.bylev[[lev]] <- SOURCE[SOURCE[, source_factors] == :
attempt to select less than one element in integerOneIndex
Because I do detect significatively differents values for my sources between my 6 different "Sector", and because I'm trying to compare those, I think it's very important to get it right. If I can't, I will have to deal with every Sector independtly, but it's going to arise the error.
Here's my loading code if it can help someone to help me:
#Load datamix
mix <- load_mix_data(
filename = "temp_consumers.csv",
iso_names = c("d13C","d2H"),
factors = c("Taxa","Sector"),
fac_random = c(FALSE, FALSE),
fac_nested = c(FALSE, FALSE),
cont_effects = NULL)
source <- load_source_data(
filename="temp_sources.csv",
source_factors="Sector",
conc_dep=FALSE,
data_type="raw", mix)
Error in list.sources.bylev[[lev]] <- SOURCE[SOURCE[, source_factors] == :
attempt to select less than one element in integerOneIndex
Thank you very much for your help!
The text was updated successfully, but these errors were encountered: