data T t where B :: Coercible Int (t a) => t a -> T t
f (A t) = show t
g (B t) = coerce t• Couldn't match representation of type ‘Int’ with that of ‘t a’
Inaccessible code
'cyl' not found 1: In data.matrix(data) : NAs introduced by coercion2: In data.matrix(data) : NAs introduced by coercion 4: In data.matrix(data) : NAs introduced by
data=dfall)但我正面临着这样的错误:1: In order(as.numeric(x)) : NAs introduced by coercion2: In diff(as.numeric(x[ord])) : NAs introduced by coercion4: In (function (x, y, type = "p"