Displaying 7 results from an estimated 7 matches for "anymiss".
Did you mean:
amiss
2007 Sep 13
1
trouble with installing Biobase package
...lures seemed due to the fact Biobase not being there. So,
why is Biobase failing to compile? Here's the complaint:
* Installing *source* package 'Biobase' ...
** libs
gcc -std=gnu99 -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include -I/usr/local/include -fpic -g -O2 -c anyMissing.c -o anyMissing.o
gcc -std=gnu99 -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include -I/usr/local/include -fpic -g -O2 -c envir.c -o envir.o
gcc -std=gnu99 -I/usr/local/lib64/R/include -I/usr/local/lib64/R/include -I/usr/local/include -fpic -g -O2 -c matchpt.c -o matchpt.o
gcc...
2007 Aug 13
3
hasNA() / anyNA()?
Hi,
is there a hasNA() / an anyNA() function in R? Of course,
hasNA <- function(x) {
any(is.na(x));
}
would do, but that would scan all elements in 'x' and then do the
test. I'm looking for a more efficient implementation that returns
TRUE at the first NA, e.g.
hasNA <- function(x) {
for (kk in seq(along=x)) {
if (is.na(x[kk]))
return(TRUE);
}
FALSE;
}
2017 Nov 29
2
SAMseq errors
...nalyze my RNA-seq experiment (20000 genes x 550 samples) with survival endpoint. It quickly give the following error:
> library(samr)Loading required package: imputeLoading required package: matrixStats
Attaching package: ?matrixStats?
The following objects are masked from ?package:Biobase?:
? ? anyMissing, rowMedians
Warning messages:1: package ?samr? was built under R version 3.3.3?2: package ?matrixStats? was built under R version 3.3.3
> samfit<-SAMseq(data, PFI.time,censoring.status=PFI.status, resp.type="Survival")
Estimating sequencing depths...Error in quantile.default(prop...
2017 Nov 29
0
SAMseq errors
...my RNA-seq experiment (20000 genes x 550 samples) with survival endpoint. It quickly give the following error:
> library(samr)
Loading required package: impute
Loading required package: matrixStats
Attaching package: ?matrixStats?
The following objects are masked from ?package:Biobase?:
? ? anyMissing, rowMedians
Warning messages:
1: package ?samr? was built under R version 3.3.3?
2: package ?matrixStats? was built under R version 3.3.3
> samfit<-SAMseq(data, PFI.time,censoring.status=PFI.status, resp.type="Survival")
Estimating sequencing depths...
Error in quantile.defaul...
2008 Jul 01
1
[.data.frame speedup
Below is a version of [.data.frame that is faster
for subscripting rows of large data frames; it avoids calling
duplicated(rows)
if there is no need to check for duplicate row names, when:
i is logical
attr(x, "dup.row.names") is not NULL (S+ compatibility)
i is numeric and negative
i is strictly increasing
"[.data.frame" <-
function (x, i, j,
2010 Aug 23
1
Internal state indicating if a data object has NAs/no NAs/not sure (Was: Re: Speeding up matrix multiplies)
...(iii), which would be backward compatible with all existing code.
For instance y <- sum(x, na.rm=FALSE) would return NA immediately if
the state of 'x' is "Has NAs".
Then different computational algorithms are free to set the state, if
they know it. For instance, matrixStats::anyMissing(x) would flag the
"x" object (i) if returning TRUE and (ii) if returning FALSE. Next
time it is called, the response could be instant/O(1). Similarly, y
<- rowSums(x, na.rm=TRUE/FALSE) can set the state on y, and so on.
Just some thoughts
/Henrik
On Mon, Aug 23, 2010 at 1:50 P...
2013 Apr 24
1
multiple issues with is.unsorted()
Hi,
In the man page for is.unsorted():
Value:
A length-one logical value. All objects of length 0 or 1 are
sorted: the result will be ?NA? for objects of length 2 or more
except for atomic vectors and objects with a class (where the ?>=?
or ?>? method is used to compare ?x[i]? with ?x[i-1]? for ?i? in
?2:length(x)?).
This contains many incorrect