Hello dear R help members,

I wish to get a nice LaTeX table for a rq object.
Trying to use the functions I found so far wouldn't work.  I can
start opening the functions up, but I am wondering if I had missed some
function which is the one I should be using.

Here is an example session for a bunch of possible errors:

(Thanks)


data(stackloss)
y <- stack.loss
x <- stack.x
rq_object <- rq(y ~ x, tau = .5)
rq_object_summary <- summary(rq_object)

latex(rq_object)
# Error in UseMethod("latex") :
#   no applicable method for 'latex' applied to an object of class "rq"
latex(rq_object_summary)
# Error in UseMethod("latex") :
#   no applicable method for 'latex' applied to an object of class
"summary.rq"
latex.summary.rqs(rq_object_summary)
# Error in x$tau : $ operator is invalid for atomic vectors
summary.rqs(rq_object)
# Error in xi$coefficients[, i] : incorrect number of dimensions
summary.rqs(rq_object_summary)
# Error in xi$residuals[, i] : incorrect number of dimensions



----------------Contact
Details:-------------------------------------------------------
Contact me: tal.gal...@gmail.com |  972-52-7275845
Read me: www.talgalili.com (Hebrew) | www.biostatistics.co.il (Hebrew) |
www.r-statistics.com (English)
----------------------------------------------------------------------------------------------

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to