Displaying 5 results from an estimated 5 matches for "gogarten".
Did you mean:
garten
2012 Jan 10
1
importing S3 methods with importFrom
...)[c(8,10)])
where mod and mod0 are both results of the glm() function.
If I instead import the entire package in my NAMESPACE:
import(lmtest)
The example runs without error. Is there a way to import all methods
for an S3 generic function without importing the entire package?
thanks,
Stephanie Gogarten
sessionInfo()
R version 2.14.0 (2011-10-31)
Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] lmte...
2011 Sep 19
1
"could not find function" after import
...e? call not declared from: ?sandwich?
I am not sure why this is a problem, as there is a "require" statement
(for a different package) in another function which does not cause any
warnings.
Can anyone advise on how to get my package to successfully pass R CMD check?
thanks,
Stephanie Gogarten
Research Scientist, Biostatistics
University of Washington
2012 Mar 14
3
merge bug fix in R 2.15.0
Is it intended that the first suffix can no longer be blank? Seems to be
caused by a bug fix to merge in R 2.15.0.
$Rdevel --vanilla
DF1 = data.frame(a=1:3,b=4:6)
DF2 = data.frame(a=1:3,b=7:9)
merge(DF1,DF2,by="a",suffixes=c("",".1"))
Error in merge.data.frame(DF1, DF2, by = "a", suffixes = c("", ".1")) :
there is already a column
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 "primitiv...
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:
>>
>> >