# Goals: To write functions
# To write functions that send back multiple objects.
# FIRST LEARN ABOUT LISTS --
X = list(height=5.4, weight=54)
print(amp;quot;Use default printing --amp;quot;) ...……
R语言 多项式回归示例
rm(list=ls())
data amp;amp;lt;- swiss
data amp;amp;lt;- scale(data)
data1 amp;amp;lt;- data
for (i in 1:3) {
mdl amp;amp;lt;- lm(Examination ~ poly(Education, degree=i), data = ...……