Skip to content
Prev 1160 / 63424 Next

R-beta: spline problems(?)

"A. Tsiolakidis"  <tsioltas@cs.keele.ac.uk> writes:
It could possibly be a problem with rbind or with the matrix
multiplication for a column vector like that.  It is unusual to create 
a matrix that way.  If you want a single column you could create it as
 matrix( 1, nrow = n, ncol = 1)
or reverse the value of the nrow and ncol arguments for a matrix with
1 row.  Even more concise is
 array( 1, c(n, 1) ) or array( 1, c(1, n)) 
depending on which orientation you want.
I'm not sure exactly what is happening with that.
This was sent to me only.  I am forwarding the reply onto the r-devel
list so others can take a look at it.