I continue to get this error:

Error in findClosestCentroids(as.matrix(X), initial_centroids): object 'idk' not found

Traceback:

- findClosestCentroids(as.matrix(X), initial_centroids)

```
findClosestCentroids <- function(X, centroids){
# Set K
K = nrow(centroids)
# You need to return the following variables correctly.
idx = matrix(0, nrow(X), 1)
for(i in 1:nrow(X)){
idx[i]<- min(sum(((X[i,]) - centroids)*(X[i,]) - centroids))
}
return(idx)
```