[R] package for kernel on R

2020-10-12 Thread Ablaye Ngalaba
Hello, Please, I want to know which package to install on R when coding the kernel functions [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help P

Re: [R] Fwd: Help using the exclude option in the neuralnet package

2020-10-12 Thread Frauke Günther
Dear all, the exclude and constant.weights options are used as follows: exclude: A matrix with n rows and 3 columns will exclude n weights. The the first column refers to the layer, the second column to the input neuron and the third column to the output neuron of the weight. constant.weights:

Re: [R] which() vs. just logical selection in df

2020-10-12 Thread Greg Snow
I would suggest using the microbenchmark package to do the time comparison. This will run each a bunch of times for a more meaningful comparison. One possible reason for the difference is the number of missing values in your data (along with the number of columns). Consider the difference in the

Re: [R] Installing bioconduction packages in connection with loading an R package

2020-10-12 Thread Martin Morgan
An alternative to setRepositories() is use of (the CRAN package) BiocManager::install("gRbase") instead of install.packages(). BiocManager installs CRAN packages as well as Bioconductor packages. Another, more transparent, solution is to use install.packages("gRbase", repos = BiocManager::rep