Scaling a numeric matrix in R with values 0 to 1

前端 未结 5 671
日久生厌
日久生厌 2020-12-09 10:43

Here is an excerpt of numeric matrix that I have

 [1,]   30 -33.129487   3894754.1 -39.701738 -38.356477 -34.220534
 [2,]   29 -44.289487  -8217525.9 -44.801         


        
5条回答
  •  猫巷女王i
    2020-12-09 10:49

    Install the clusterSim package and run the following command:

    normX = data.Normalization(x,type="n4");
    

提交回复
热议问题