> x <- rspray()
> x
val
1 2 0 = 9
2 0 1 = 8
1 0 2 = 7
2 0 2 = 5
1 1 0 = 4
0 2 0 = 6
1 2 1 = 2
0 1 2 = 3
1 0 0 = 1
> coeffs(x)
Error in coeffs(x) : could not find function "coeffs"
> val(x)
Error in val(x) : could not find function "val"
> value(x)
[1] 9 8 7 5 4 6 2 3 1
>
Above, I wanted to access the coefficients (viz 9,8,7, etc) and tried coeffs() and val() but these were not right. Using coeffs() really ought to work.
Look at the following session:
Above, I wanted to access the coefficients (viz 9,8,7, etc) and tried
coeffs()
andval()
but these were not right. Usingcoeffs()
really ought to work.