I am trying to run KStest for a data frame/Matrix in R. (4 column holds values of corresponding layer and one column holds the group values)
The sample of the dataframe is as follows.
I want to execute KStest for Rows that falls within a group. The above example holds 8 classes with its values varying from 1 to 8. The required output should be as follows.
Class, KStest
1, KSvalue - 1 2, KSvalue - 2 3, KSvalue - 3 4, KSvalue - 4 5, KSvalue - 5 6, KSvalue - 6 7, KSvalue - 7 8, KSvalue - 8
There are totally 40000 samples that are split into 8 groups. Each group follows a pattern wrt to the Four Band/Attribute values. I want to find if the datasets follow a pattern and if they are statistically valid.
Aucun commentaire:
Enregistrer un commentaire