Closed johnnybonney closed 2 years ago
Possibly related to the fix in #214 ?
What happens if you put intercept = TRUE
for uSplines
?
Putting intercept = TRUE
leads to no issue---suggesting it is almost surely related to the fix in #214.
Resolved!
It is indeed to do with #214.
R was converting a matrix with a single column into a vector with dimension NULL
.
That is why we have that error regarding dimensions.
The reason why we were getting matrices with a single column is because we no longer include the intercept term for the splines as the default.
So what would've been a matrix with two columns has now reduced into one with a single column.
I should've caught this error earlier by testing more thoroughly...
I ran into an error coming from base R when experimenting with some simple MTR specifications. Here is an example that reproduces what I'm seeing:
yields output
I can only generate this error under the following three conditions:
degree = 0
)yob
)