Thank you very much, Douglas, for your great suggestions!
Best,
Charles
On Thu, Sep 11, 2014 at 7:38 PM, Douglas Bates wrote:
> The short answer is vcat, as in
>
> julia> A = Array(Int,(0,2))
> 0x2 Array{Int64,2}
>
> julia> vcat(A,[1,2]')
> 1x2 Array{Int64,2}:
> 1 2
>
> Note that the ' is im
The short answer is vcat, as in
julia> A = Array(Int,(0,2))
0x2 Array{Int64,2}
julia> vcat(A,[1,2]')
1x2 Array{Int64,2}:
1 2
Note that the ' is important as it cause the column vector [1,2] to be
reshaped into a 1 by 2 matrix.
You may find it more effective to create the columns separately u