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
@AugustT
MSI function is currently not compatible with the data structure for bma functions. I can convert it as follows
msi_data <- data_in
msi_data$species <- as.factor(as.character(msi_data$species))
msi_data$index <- 10^(msi_data$index) # puts the data on the measurement scale
msi_data$se <- msi_data$index * msi_data$se # delta method - the function actually does the reverse
But it would be better if all the functions accepted data in the same format. Either a wrapper function would do this conversion so that the published version of the MSI function would still be accessible OR allow input options within the function.
The text was updated successfully, but these errors were encountered:
drnickisaac
changed the title
Harmonization of MSI
Harmonization of indicator functions
Dec 8, 2017
@AugustT
MSI function is currently not compatible with the data structure for bma functions. I can convert it as follows
msi_data <- data_in
msi_data$species <- as.factor(as.character(msi_data$species))
msi_data$index <- 10^(msi_data$index) # puts the data on the measurement scale
msi_data$se <- msi_data$index * msi_data$se # delta method - the function actually does the reverse
But it would be better if all the functions accepted data in the same format. Either a wrapper function would do this conversion so that the published version of the MSI function would still be accessible OR allow input options within the function.
The text was updated successfully, but these errors were encountered: