Hi Peter
When using function y_to_force() with a classifier tibble that contains the "required" columns, including a species column, the output tibble does not include all columns in the classifier, but only the "measurement", "specimen", "t" and "force" columns. Notably, the species column seems to be dropped.
Then, if trying to use function summarize_measurements on the output tibble, the follwing error is issued:
Error in summarize_measurements(df.all.200.tax, var1, var2) :
column names of 'df' must contain 'species', 'specimen', 'measurement', 't', 'force'
Since only the species column is missing, I guess that's where the error stems from.
Cheers
Sam
Hi Peter
When using function y_to_force() with a classifier tibble that contains the "required" columns, including a species column, the output tibble does not include all columns in the classifier, but only the "measurement", "specimen", "t" and "force" columns. Notably, the species column seems to be dropped.
Then, if trying to use function summarize_measurements on the output tibble, the follwing error is issued:
Since only the species column is missing, I guess that's where the error stems from.
Cheers
Sam