Displaying 3 results from an estimated 3 matches for "__deferred_default_marker__".
2006 Sep 23
1
generics for primitive functions
...;)(4)
these are my results, when each is run from a fresh R session
[1]
> setMethod("Math", signature(x = "numeric"), function(x) "Works")
[1] "Math"
> getGeneric("sqrt")(4)
[1] "Works"
[2]
> getGeneric("sqrt")(4)
`__Deferred_Default_Marker__`
> setMethod("Math", signature(x = "numeric"), function(x) "Works")
[1] "Math"
> getGeneric("sqrt")(4)
`__Deferred_Default_Marker__`
the section in "How Methods Work" that deals with this is unfinished,
but i think it suggests t...
2010 Apr 23
2
Deferred Default Marker
...;- matrix(runif(50), ncol=2)
> t(temp) %*% temp
[,1] [,2]
[1,] 7.916016 6.049698
[2,] 6.049698 7.650694
> library(kinship)
Loading required package: survival
Loading required package: splines
Loading required package: nlme
Loading required package: lattice
> t(temp) %*% temp
`__Deferred_Default_Marker__`
-----------------------------------------
Within the library is a definition of %*% for bdsmatrix objects, which
is perhaps the issue. But I'm only guessing since I don't have a clear
idea what the error message means. Any hints are appreciated.
The new coxme/bsdmatrix packages need o...
2010 Apr 06
0
Strange error
...rom: eval(expr, envir, enclos)
Browse[1]> dim(X)
[1] 2601 6
Browse[1]> lfit$coef
(Intercept) factor(center)2 factor(center)3 factor(center)4
age
217.9110997 -2.9079576 -0.2147915 -7.8141818
0.5210394
factor(sex)2
5.1384741
Browse[1]> X %*% lfit$coef
`__Deferred_Default_Marker__`
----------------------------------------------
X is a model.matrix. If I save the two objects and reload them into a
fresh R session the multiplication works just fine.
I haven't modified this code in several years, and it is widely used.
All the C code is shared with coxme. Subsettin...