In a Quarto document being prepared for html output, I want to use the Hmisc::describe() function with the html() function, thus:
html(describe(diffs$gama_diff))
I get the following error: Error in FUN(X[[i]], ...) : argument is not a character vector
gama_gt
is a numeric vector, but I think the error refers to the output of the describe() function.
I am in a Windows 11 environment in RStudio with R4.2.0. The YAML uses format: html:
and a number of sub-arguments.
I'm sure the error is mine, but I'm not sure what it is that I've done.