Skip to content
Discussion options

You must be logged in to vote

The cut points c(0.001, 0.003, 0.999) for c(" ", "?", "!", "1") are very aggressive, i.e. anything above 0.003 is marked as !. I am not sure what the distribution function of correlation coefficients is, but it seems for vectors of 100 random numbers, it is unlikely to go below 0.003. Things look much better if you use 1e6 instead of 100, like it is done in the parallel vignette:

> vrng <- random_mtx(1e6, 10)

> print(symnum(x = cor(vrng), cutpoints = c(0.001, 0.003, 0.999),
+              symbols = c(" ", "?", "!", "1"),
+              abbr.colnames = FALSE .... [TRUNCATED] 
                         
 [1,] 1                  
 [2,]   1                
 [3,] ?   1              
 [4,] ? ? …

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by option72
Comment options

You must be logged in to vote
2 replies
@rstub
Comment options

@rstub
Comment options

Comment options

You must be logged in to vote
2 replies
@rstub
Comment options

@option72
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants