search for: doreg

Displaying 1 result from an estimated 1 matches for "doreg".

Did you mean: noreg
2023 Oct 24
1
by function does not separate output from function with mulliple parts
...c(NA, 50L), class = "data.frame") mydata[,"StepType"] <- rep(c("First","Second"),25) mydata ######################## # END Create Dataframe # ######################## ############################ # Define function to be run# ############################ DoReg <- function(x){ fit0<-lm(as.numeric(HipFlex) ~ jSex,data=x) print(summary(fit0)) cat("\nMale\n") print(contrast(fit0, list(jSex="Male"))) cat("\nFemale\n") print(contrast(fit0, list(jSex="Female"))...