Displaying 1 result from an estimated 1 matches for "modelprices".
2011 May 20
0
Spline Function
...s not possible.
For example I get this output from spline function...
$x
[1] 1050 1100 1150 1175 1200 1250 1300 1350 1400 1450 1500
$y
[1] 175.15474 146.78475 121.76502 110.50149 100.05049 81.49610
65.87413 52.89799 42.24847 33.59852 26.63327
I can chunk out...the second list...using modelprices[2]
> modelprices[2]
$y
[1] 175.15474 146.78475 121.76502 110.50149 100.05049 81.49610
65.87413 52.89799 42.24847 33.59852 26.63327
Still its a list and I think I need an array
other array is
> marketprices
[1] 171.4 140.4 112.8 99.8 88.2 66.9 49.5 35.7 25.2 17.0 12.2
&...