a <- tryCatch(
anova(fit) %>%
as.data.frame(),
error = function(cond){
p_nonlinear <- "Not Available"
return(p_nonlinear)
}
)
p_nonlinear <- tryCatch(
anova(fit) %>%
as.data.frame(),
error = function(cond){
p_nonlinear <- "Not Available"
return(p_nonlinear)
}
)
This is the code i wrote in my rstudio. However, in the document outline, it shows this
This makes the doucment outline show outline that i do not want. I am wondering that is there any way to remove the doucment outline for R function in the Rstudio?