[Vars-commits] r111 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Mar 12 15:51:56 CET 2023


Author: bpfaff
Date: 2023-03-12 15:51:56 +0100 (Sun, 12 Mar 2023)
New Revision: 111

Modified:
   pkg/R/toMlm.R
Log:
Fixed consistency to generic (...)


Modified: pkg/R/toMlm.R
===================================================================
--- pkg/R/toMlm.R	2021-09-16 16:44:49 UTC (rev 110)
+++ pkg/R/toMlm.R	2023-03-12 14:51:56 UTC (rev 111)
@@ -1,12 +1,12 @@
-toMlm<- function(x, ...) {
+toMlm <- function(x, ...) {
   UseMethod("toMlm")
 }
 
-toMlm.default <- function(x){
+toMlm.default <- function(x, ...){
   lm(x$model)
 }
 
-toMlm.varest<-function(x){
+toMlm.varest<-function(x, ...){
   ix <- 1:x$K
   X<-x$datamat
   type<-x$type
@@ -43,4 +43,4 @@
 
 estfun.varest<-function(x, ...){
   estfun(toMlm.varest(x), ...)
-}
\ No newline at end of file
+}



More information about the Vars-commits mailing list