Ask Your Question
2

What is the method to include a linear trend line according to boxplot() function?

asked 2021-05-02 11:00:00 +0000

ladyg gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-03-06 22:00:00 +0000

huitzilopochtli gravatar image

The boxplot() function does not include a method to add a linear trend line. The function is intended to create a visual representation of the distribution of a dataset through a box and whisker plot.

If you wish to add a linear trend line, you may want to use a different plotting function, such as plot() or lmplot(), which provide options to add trend lines or regression models to a plot.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-05-02 11:00:00 +0000

Seen: 7 times

Last updated: Mar 06 '23