Dear Sirs,
Running the following code with R devel (2020-11-30 r79529):
library(survival)
terms.formula(Surv(time, status) ~ . - time - status, data = lung[,
c("time", "status", "ph.ecog")])
gives:
Warning message:
In terms.formula(Surv(time, status) ~ . - time - status, data = lung[, :
class that he owns.
>
> Regards,
> Denes
>
>
> On 10/19/20 10:22 AM, Benjamin Christoffersen wrote:
> > It seems as if you can you use the ALTREP macro as done in this
> > package:
> > https://github.com/Jiefei-Wang/SharedObject/blob/804b6ac58c63a4bae95343ab43e
It seems as if you can you use the ALTREP macro as done in this
package:
https://github.com/Jiefei-Wang/SharedObject/blob/804b6ac58c63a4bae95343ab43e8b1547b07ee6b/src/C_interface.cpp#L185
and in base R:
https://github.com/wch/r-source/blob/54fbdca9d3fc63437d9e697f442d32732fb4f443/src/include/Rin
compiler_3.5.1 tools_3.5.1yaml_2.1.18
Sincerely yours,
Benjamin Christoffersen
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Dear sirs
It seems like there is a bug in `profile.nls` with `algorithm =
"plinear"` when a matrix is supplied on the right hand side. Here is
the bug and a potential fix
#
# example where profile.nls does not work with `plinear` but does with
# `default`
require(graphics)
set.seed(1)
DNase1