79812214

Date: 2025-11-07 10:38:30
Score: 1
Natty:
Report link

The error

# dim(X) must have a positive length

clearly states the x value must be in a dimension of a matrix or an array. The apply function is not for vectors. If not resolved, you can try with a function all .

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ramesh Kathariya