On 5/13/2008 12:47 AM, Knut M. Wittkowski wrote:
Why does the assignment of a 3178x93 object to
another 3178x93 object remove the dimension attribute?
Your example is not reproducible. When I make one that is reproducible,
I don't see the error:
> GT <- array(dim = c(6,3178,93))
> dim(GT)
[
>Why does the assignment of a 3178x93 object to >another 3178x93 object remove
>the dimension attribute?>> GT <- array(dim = c(6,nrow(InData),ncol(InSNPs)))>>
>dim(GT)>[1] 6 3178 93>> SNP1 <- InSNPs[InData[,"C1"],]>> dim(SNP1)>[1] 3178
> 93>> SNP2 <- InSNPs[InData[,"C2"],]>> dim(SNP2)>[1] 31
Why does the assignment of a 3178x93 object to
another 3178x93 object remove the dimension attribute?
> GT <- array(dim = c(6,nrow(InData),ncol(InSNPs)))
> dim(GT)
[1]6 3178 93
> SNP1 <- InSNPs[InData[,"C1"],]
> dim(SNP1)
[1] 3178 93
> SNP2 <- InSNPs[InData[,"C2"],]
> dim(SNP2)
[1
3 matches
Mail list logo