Displaying 20 results from an estimated 600 matches similar to: "(Requested) caTools::runmean Patch"
2003 Oct 17
2
Problems with crossprod
Dear R-users,
I found a strange problem
working with products of two matrices, say:
a <- A[i, ] ; crossprod(a)
where i is a set of integers selecting rows. When i is empty
the result is in a sense random.
After some trials the right answer
(a matrix of zeros) appears.
--------------- Illustration --------------------
R : Copyright 2003, The R Development Core Team
Version 1.8.0
2007 Feb 20
1
baseline fitters
I am pretty pleased with baselines I fit to chromatograms using the
runquantile() function in caTools(v1.6) when its probs parameter is
set to 0.2 and its k parameter to ~1/20th of n (e.g., k ~ 225 for n ~
4500, where n is time series length). This ignores occasional low-
side outliers, and, after baseline subtraction, I can re-adjust any
negative values to zero.
But runquantile's
2012 Mar 03
1
Sliding Window in R (solved)
Dear all,
you can find below my solution for sliding a window. Please find below the code for the two alternatives and the benchmarks.
install.packages('caTools')
require(caTools)
do_sliding_for_a_window_duty_cycle <- function(DataToAnalyse, windowSize) {
data<-DataToAnalyse
out <- numeric()
elements<- numeric()
if (length(data[,1]) >= windowSize){
for
2005 Jun 17
0
Release of new version of caMassClass package and new package caT ools
Hi,
A new version of "caMassClass" package was released today. The package
contain pipeline for processing and classification of protein mass spectra
data.
The main change is off-spinning from the library collection of generic
functions into a new package "caTools". This package, which might be useful
to broader group, is much smaller than "caMassClass" and has fewer
2005 Jun 17
0
Release of new version of caMassClass package and new package caT ools
Hi,
A new version of "caMassClass" package was released today. The package
contain pipeline for processing and classification of protein mass spectra
data.
The main change is off-spinning from the library collection of generic
functions into a new package "caTools". This package, which might be useful
to broader group, is much smaller than "caMassClass" and has fewer
2007 Oct 10
1
caTools package
Hi,
I tried to install the caTools package manually
from the main R Project website and I get the
following error message when typing library('caTools')
Error in library("caTools") :
'caTools' is not a valid package -- installed <
2.0.0?
What am I doing wrong? Also, why is this package
not available in the list of packages for direct
installation from the R
2010 Jul 08
1
download gplots and caTools
Dear list,
I am using R.2.11.1 version on a PC. I downloaded successfully gplots_2.8.0 but I could not find where to download caTools
> library("gplots")
Loading required package: caTools
Error: package 'caTools' could not be loaded
In addition: Warning message:
In library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) :
there is no package called
2018 Sep 24
3
Fwd: Bug report: cbind with numeric and raw gives incorrect result
Hi there,
using cbind with a numeric and raw argument produces an incorrect result.
I've posted some details below,
kind regards,
Mike.
e.g.
> cbind(0, as.raw(0))
[,1] [,2]
[1,] 0 6.950136e-310
A longer example shows that the result is not a rounding error, is not
consistent, and repeated applications get different results.
> cbind(0, as.raw(1:10))
2018 Sep 25
0
Fwd: Bug report: cbind with numeric and raw gives incorrect result
For what it's worth the following patch fixes that particular problem on my system.? I have not checked very carefully to make sure this does not cause other problems, but at a high level it seems to make sense.? In this particular part of the code I believe `mode` is taken to be the highest type of "column" encountered by `ctype` and based on conditionals it can (I think) be up to
2018 Sep 25
1
Fwd: Bug report: cbind with numeric and raw gives incorrect result
Thanks Brodie, that's some nice detective work.
If someone wanted to grant me access to Bugzilla, I'll be happy to post the
bug and patch there (with your permission Brodie?) and help this bug get
fixed.
Mike.
On Tue., 25 Sep. 2018, 10:53 pm brodie gaslam, <brodie.gaslam at yahoo.com>
wrote:
>
>
> For what it's worth the following patch fixes that particular problem
2011 Sep 24
1
help
Mathew Brown
Institute of Bioclimatology
University of G?ttingen
B?sgenweg 2
37077 G?ttingen, Germany
t: +49 551 39 9359
mathew.brown at forst.uni-goettingen.de
On 9/24/2011 6:00 PM, r-help-request at r-project.org wrote:
> Send R-help mailing list submissions to
> r-help at r-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2005 Jun 29
2
"all connections are in use" error during lazyload stage of packa ge installation
Hi,
I suddenly started getting strange errors while working on my caTools
package:
>RCMD install C:/programs/R/rw2011/src/library/caTools
......
preparing package caTools for lazy loading
Error in file(file, "r", encoding = encoding) :
all connections are in use
Execution halted
make: *** [lazyload] Error 1
*** Installation of caTools failed ***
I searched
2012 Sep 08
0
Help on calculating AUC with caTools trapz(a,b) command
Dear All,
I have the following example:
a <-matrix(c(1:100),ncol=10)
b <-matrix(c(2,4,6,8,10,12,14,16,18,20))
trapz(b,a)
will give me a result of 99, which it seems to me is the AUC of the 1st column only. Is it possible to get the AUC results by columns of "a" using the same "b" values in the calculations as opposed to just generating the result for the 1st
2011 Jan 29
1
runsd {caTools} crashes R 64bit on winxp64bit with a very large vector
Hello
I have a 3.5 million elements numeric vector x. I'm trying to calculate the
rolling std dev of the previous 144 elements.
rsd144<-runsd(x, 144, center=0, endrule="NA")
this crashes R (ie on the console disappears and the Rgui.exe process is not
there anymore)
with smaller vectors, the crash does not occur.
regards,
[[alternative HTML version deleted]]
2005 Jul 18
2
New functions supporting GIF file format in R
Hi,
A minor announcement. I just added two functions for reading and writing GIF
files to my caTools package. Input and output is in the form of standard R
matrices or arrays, and standard R color-maps (palettes). The functions can
read and write both regular GIF images, as well as, multi-frame animated
GIFs. Most of the work is done in C level code (included), so functions do
not use any
2012 Mar 13
2
"gplots" packages does not work
I had installed de "gplots" package and then I loaded the library but the
package did not work. I recieved a message like this:
> install.packages("gplots", dependencies = TRUE)
Installing package(s) into
‘/home/fpiston/R/x86_64-pc-linux-gnu-library/2.14’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
2008 Aug 25
3
name conflicts
Everyone,
I've got code in my package that uses LogitBoost from the caTools
package. caTools does not have a namespace.
My package also uses loads RWeka, which has a namespace, and also has
a function called LogitBoost.
After loading both packages, how can I be specific about running the
version from caTools (since caTools:::LogitBoost won't work)?
Thanks,
Max
2015 Apr 22
0
shlib problems with Intel compiler
On Tue, 2015-04-21 at 11:46 -0600, Andy Jacobson (NOAA Affiliate) wrote:
> Hi,
>
> I'm encountering trouble compiling caTools_1.17.1.tar.gz and
> e1071_1.6-4.tar.gz on a Linux system using the Intel compiler suite.
> 14 other packages I generally use installed without any trouble. I
> notice both of these trouble packages have a C++ component, so I
> wonder if that might
2005 Sep 22
2
Survey of ROC AUC / wilcoxon test functions
Hi,
I was lately debugging parts of my 'colAUC' function in caTools package, and
in a process looked into other packages for calculating Areas Under ROC
Curves (AUC). To my surprise I found at least 6 other functions:
* wilcox.test
* AUC from ROC package,
* performance from ROCR package,
* auROC from limma package,
* ROC from Epi package,
* roc.area from verification
2002 Sep 16
1
Running Median and Mean
R gurus,
On Aug 20, 2002, I asked in R-help about calculating a running 5-day median on
a large matrix. Thanks to Martin Maechler <maechler@stat.math.ethz.ch> and Ray
Brownrigg <Ray.Brownrigg@mcs.vuw.ac.nz> for responding.
I ended up writing C code (and an R interface) to do it, which is about 1000x
faster than the naive method! (72s became .09s on a 223 x 520 matrix). I
added a