I have a tokinized dataset pairwise correlation matrix of 751,689 tokens and would like to view only the strong correlations > .2 so that I can make multipe smaller dataframes.
My main though was to use an if statement but I do not know wht I would use as the i within the if statement. The problem is that I do not want several thousand or statements for every variable.
What I tried is this:
if(i > .2){
EmailCor2 <- EmailCor
}
I expect to have a smaller dataframe of only the most strongly correlated words.
Aucun commentaire:
Enregistrer un commentaire