I am playing around with the car library for R and have encountered the following warning after calling the variance_inflation_factors function on my data model.
No function found corresponding to methods exports from ‘SparseM’ for: ‘coerce’
This error is the result of the following code
library(car)
data = read.table("path/to/data.txt")
attach(data)
model = lm(Y ~ X1 + X2 + X3)
vif(model)
But still yields a regular output shown as
X1 X2 X3
1.578524 2.276641 2.021541
All together the output appears as
Warning message:
no function found corresponding to methods exports from ‘SparseM’ for: ‘coerce’
X1 X2 X3
1.578524 2.276641 2.021541
Is my output affected by the lack of the coerce method?