R/effectInfomod1.R

Defines functions effectInfomod1

Documented in effectInfomod1

effectInfomod1 <-
function(object)
 {
  aux <- summary(object$model)$coefficients
  beta <- t(as.matrix(aux[2, ]))
  rownames(beta) <- rownames(aux)[2]
  Xincrease <- "additive of c units"
  effecttype <- "additive change in the mean of Y"
  effectsize <- "c * beta units of Y"
  furtherinfo <- "\nFurther details can be obtained using effect(), providing the increase in X\n, 'c',\nand the level for the confidence interval, 'level'."	
  res <- list(beta = beta, Xincrease = Xincrease, effecttype = effecttype, effectsize = effectsize)
  res 	
 }

Try the tlm package in your browser

Any scripts or data that you put into this service are public.

tlm documentation built on May 2, 2019, 2:11 p.m.