Hello All,

I'm trying to take a peak under the hood of the base r function kmeans but I can't seem to find the source code for some of the underlying functions. Namely:

The fortran function "C_kmns"

The C functions : C_kmens_Lloyd and C_kmeans_MacQueen

How/where should I look for the code of these functions?

Thank you.