Error in hist.default(composite) : 'x' must be numeric

Make sure composite is a numeric vector

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.