关于ggplot2中geom_smooth函数参数se的含义及其缩写来源的技术咨询
The
se Parameter in ggplot2's geom_smooth(): What It Does & Its Origins Hey there! Let's unpack this question step by step:
What's the purpose of the se parameter?
In geom_smooth(), the se parameter controls whether to render the confidence interval that surrounds the fitted smooth line. By default, it's set to TRUE—you can tweak the confidence level with the level parameter (for example, level = 0.9 would give you a 90% confidence interval). Setting se = FALSE will turn off this interval entirely.
Where do the s and e in se come from?
The shorthand se stands for Standard Error:
- The
sis the first letter of Standard - The
eis the first letter of Error
Since the confidence interval displayed is derived from the standard error of the smooth fit, using this shorthand makes perfect sense for the parameter name.
内容的提问来源于stack exchange,提问作者NoName
相关产品推荐
相关产品推荐

