R bloggers

Clustering French Cities (based on Temperatures)

FavoriteLoadingAdd to favorites

In order to illustrate hierarchical clustering techniques and k-means, I did borrow François Husson‘s dataset, with monthly average temperature in several French cities. > temp=read.table( + “http://freakonometrics.free.fr/FR_temp.txt”, + header=TRUE,dec=”,”) We have 15 cities, with monthly observations > X=temp[,1:12] > boxplot(X) Since the variance seems to be rather stable, we will not ‘normalize’ the variables here, > apply(X,2,sd) Janv Fevr Mars Avri…
Original Post: Clustering French Cities (based on Temperatures)

Leave a Reply

Your email address will not be published. Required fields are marked *