search for: sdmorri

Displaying 4 results from an estimated 4 matches for "sdmorri".

Did you mean: sdmorris
2015 Mar 03
2
[R] Why does R replace all row values with NAs
On 3/3/15 1:26 PM, Herv? Pag?s wrote: > > > On 03/03/2015 02:28 AM, Martin Maechler wrote: >> Diverted from R-help : >> .... as it gets into musing about new R language "primitives" >> >>>>>>> William Dunlap <wdunlap at tibco.com> >>>>>>> on Fri, 27 Feb 2015 08:04:36 -0800 writes: >> >> >
2015 Mar 03
0
[R] Why does R replace all row values with NAs
Stephanie, Actually, it's as.logical that isn't preserving matrix dimensions, because it coerces to a logical vector: > x <- matrix(sample(c(NA_integer_, 1:100), 500, replace=TRUE), nrow=50) > dim(as.logical(x)) NULL ~G On Tue, Mar 3, 2015 at 2:09 PM, Stephanie M. Gogarten < sdmorris at u.washington.edu> wrote: > > > On 3/3/15 1:26 PM, Herv? Pag?s wrote: > >> >> >> On 03/03/2015 02:28 AM, Martin Maechler wrote: >> >>> Diverted from R-help : >>> .... as it gets into musing about new R language "primitives" >...
2012 Jan 10
1
importing S3 methods with importFrom
In my own package, I want to use the default S3 method of the generic function lrtest() from the lmtest package. Since I need only one function from lmtest, I tried to use importFrom in my NAMESPACE: importFrom(lmtest, lrtest) However, this fails R CMD check in the examples: Error in UseMethod("lrtest") : no applicable method for 'lrtest' applied to an object of class
2011 Sep 19
1
"could not find function" after import
I am trying to build a package (GWASTools, submitted to Bioconductor) that uses the "sandwich" package. I have references to "sandwich" in DESCRIPTION: Imports: methods, DBI, RSQLite, sandwich, survival, DNAcopy and NAMESPACE: import(sandwich) In the code itself is a call to vcovHC: Vhat <- vcovHC(mod, type="HC0") I have sandwich version 2.2-7 installed.