diff options
| author | Luca Coraggio <luca.coraggio@unina.it> | 2022-06-20 16:10:02 +0000 |
|---|---|---|
| committer | cran-robot <csardi.gabor+cran@gmail.com> | 2022-06-20 16:10:02 +0000 |
| commit | 4690747837f7266059dbd56690b52fe51aa5bd2e (patch) | |
| tree | d39c4ef640626e1382ee1fccfb1e3d5c8d1e14a2 /R/rsc.R | |
| parent | 17556182f98e2dc51e236b01aec7eef054e7e2f9 (diff) | |
version 2.0.2
Diffstat (limited to 'R/rsc.R')
| -rw-r--r-- | R/rsc.R | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ rsc <- function(cv, threshold = "minimum"){ ## cv = u ## a class cv_rsc or any other correlation matrix ## threshold = "minimum" ## "minimum", "minimum1se" or numeric in (0,1) - if(class(cv) == "rsc_cv"){ + if(is(cv, "rsc_cv")){ ## check threshold if(is.numeric(threshold)){ |
