\begin{Schunk}
\begin{Soutput}
Call:
lm(formula = y ~ rcs(x, 4))

Residuals:
    Min      1Q  Median      3Q     Max 
-7.3274 -2.9913  0.7751  2.3304  5.2871 

Coefficients:
             Estimate Std. Error t value Pr(>|t|)    
(Intercept)    5.6662     1.1462   4.944 3.25e-06 ***
rcs(x, 4)x    -2.0683     0.5735  -3.607 0.000494 ***
rcs(x, 4)x'    6.4465     2.3709   2.719 0.007772 ** 
rcs(x, 4)x'' -11.1982     4.6379  -2.415 0.017651 *  
---
Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 

Residual standard error: 2.949 on 96 degrees of freedom
Multiple R-squared: 0.1474,	Adjusted R-squared: 0.1208 
F-statistic: 5.533 on 3 and 96 DF,  p-value: 0.001513 
\end{Soutput}
\begin{Soutput}
          newx     predict4
1   0.00210552  5.661827110
2   0.06106475  5.539878913
3   0.33469796  4.973910232
4   0.37955814  4.881123781
5   0.48599136  4.660982849
6   0.77206219  4.069289082
7   0.85683699  3.894024357
8   1.20762161  3.175822601
9   1.29229855  3.005710812
10  1.33127940  2.928012435
11  1.39863356  2.794780284
12  1.47290081  2.649527976
13  1.52775669  2.543468225
14  1.54564680  2.509120188
15  1.67968159  2.255897479
16  1.91766875  1.826998152
17  1.99658999  1.691537500
18  2.01918815  1.653434511
19  2.03157764  1.632677850
20  2.04221337  1.614935589
21  2.06775416  1.572620464
22  2.07802581  1.555720144
23  2.14594866  1.445704137
24  2.18698444  1.380745901
25  2.20074307  1.359228310
26  2.27345405  1.247762253
27  2.49475581  0.933414254
28  2.54724884  0.864758482
29  2.54731530  0.864673082
30  2.64218166  0.746769368
31  2.66673836  0.717584107
32  2.67585596  0.706890945
33  2.71177845  0.665523419
34  2.72833601  0.646870006
35  2.79577002  0.573653433
36  2.89062389  0.478367825
37  3.00697577  0.373886280
38  3.01542637  0.366817815
39  3.03849314  0.347875718
40  3.17673893  0.244919945
41  3.40140350  0.114357958
42  3.40869728  0.110844233
43  3.49447253  0.072791081
44  3.77712691 -0.012319289
45  3.86841773 -0.027544869
46  3.89853382 -0.031343011
47  4.05873046 -0.041850834
48  4.10339568 -0.041999822
49  4.49652642  0.002808697
50  4.59236590  0.024787181
51  5.01731817  0.162292541
52  5.27829925  0.270728566
53  5.30339800  0.281812303
54  5.44745519  0.347022999
55  5.53752308  0.388845390
56  5.60305779  0.419600662
57  5.64230267  0.438100969
58  5.76476927  0.495960825
59  5.86957035  0.545247330
60  5.92946445  0.573150390
61  5.96511357  0.589626086
62  6.00197098  0.606535170
63  6.11115183  0.655703954
64  6.30979573  0.740366500
65  6.52050091  0.820718034
66  6.58730457  0.843637654
67  6.65814839  0.866492654
68  6.91535968  0.937449603
69  6.97856984  0.952130125
70  6.99052999  0.954790314
71  7.00783954  0.958574837
72  7.01309871  0.959709416
73  7.03756451  0.964894478
74  7.08983787  0.975464986
75  7.16150878  0.988854766
76  7.21419307  0.997902517
77  7.28683573  1.009302308
78  7.65025629  1.048867900
79  7.79771912  1.057331763
80  7.93278905  1.061638975
81  8.00569337  1.062682276
82  8.13740844  1.062437628
83  8.20199523  1.061371204
84  8.33812538  1.057231000
85  8.39256748  1.054899529
86  8.44498774  1.052311889
87  8.58134708  1.044107157
88  8.76610782  1.029953037
89  8.79149843  1.027764750
90  9.06042068  1.001595432
91  9.18289139  0.988189207
92  9.24301687  0.981347050
93  9.46087836  0.955510770
94  9.48968545  0.952007361
95  9.64241509  0.933272366
96  9.79616788  0.914344512
97  9.86411969  0.905979250
98  9.96368176  0.893722582
99  9.98436198  0.891176726
100 9.99126597  0.890326806
\end{Soutput}
\end{Schunk}
