Skip to content
Snippets Groups Projects
Commit 570714b6 authored by dj44vuri's avatar dj44vuri
Browse files

Update quicktexregapollo.R. took away error message when classes are not apollo maxLik and xxx

parent 94fd2876
No related branches found
No related tags found
No related merge requests found
......@@ -17,9 +17,9 @@ quicktexregapollo <- function(model = model, wtpest = NULL, se="rob") {
stop("Invalid value for 'se'. Please use one of 'rob', 'normal', or 'bs'.")
}
if (!all(c("apollo", "maxLik", "maxim") %in% class(model))) {
stop("Invalid model class. The model must be of classes 'apollo', 'maxLik', and 'maxim'.")
}
# if (!all(c("apollo", "maxLik", "maxim") %in% class(model))) {
# stop("Invalid model class. The model must be of classes 'apollo', 'maxLik', and 'maxim'.")
# }
if (se == "bs" && !"bootse" %in% names(model)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment