Error function discretize
1
0
Entering edit mode
@sleidymagaly-6885
Last seen 7.0 years ago
Colombia

hello, would like to know how to correct this error

library(minet)
Ed=discretize(t(E), disc="globalequalwidth",nbins=ceiling(1+log(ncol(E)))) 
Error en discretize(t(E), disc = "globalequalwidth", nbins = ceiling(1 +  : 
  unused arguments (disc = "globalequalwidth", nbins = ceiling(1 + log(ncol(E))))

thank you

 

 

minet • 1.4k views
ADD COMMENT
1
Entering edit mode
@vincent-j-carey-jr-4
Last seen 14 days ago
United States

without details on the environment you are using it is hard to help.  there may be another function called "discretize"

masking the one in minet.  please read the posting guide and supply more details if necessary.

 

> args(discretize)

function (X, disc = "equalfreq", nbins = NROW(X)^(1/3)) 

NULL

> sessionInfo()

R version 3.1.1 Patched (2014-08-13 r66362)

Platform: x86_64-unknown-linux-gnu (64-bit)

 

locale:

 [1] LC_CTYPE=en_US.ISO8859-1    LC_NUMERIC=C               

 [3] LC_TIME=en_US.ISO8859-1     LC_COLLATE=en_US.ISO8859-1 

 [5] LC_MONETARY=en_US.ISO8859-1 LC_MESSAGES=C              

 [7] LC_PAPER=C                  LC_NAME=C                  

 [9] LC_ADDRESS=C                LC_TELEPHONE=C             

[11] LC_MEASUREMENT=C            LC_IDENTIFICATION=C        

 

attached base packages:

[1] stats     graphics  grDevices datasets  utils     tools     methods  

[8] base     

 

other attached packages:

[1] infotheo_1.2.0       minet_3.24.0         BiocInstaller_1.16.0

[4] knitr_1.6            weaver_1.31.0        codetools_0.2-9     

[7] digest_0.6.4        

 

loaded via a namespace (and not attached):

[1] evaluate_0.5.5 formatR_1.0    stringr_0.6.2 

Login before adding your answer.

Traffic: 353 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6