dtype <- menu(c("continuous", "binary", "ordinal", "quantal",
"continuous, clustered"), title = "\nWhat type of response data do you want to consider?")
3
dtype
test <- function(){
dtype <- menu(c("continuous", "binary", "ordinal", "quantal",
"continuous, clustered", "quantal, clustered", "continuous, summary data",
"quantal, CxT", "other"), title = "\nWhat type of response data do you want to consider?")
3
return(dtype)
}
test()