uot;
Cc:
Sent: Friday, September 28, 2012 6:59 PM
Subject: [R] Converting array to matrix
Hi,
I have a 3d array as below, I want to make this array to a matrix of p=50(rows)
and n=20(columns) with the coverage values .
The code before the array is:
library(binom)
Loading required package: l
On Sep 28, 2012, at 3:59 PM, farnoosh sheikhi wrote:
> Hi,
>
> I have a 3d array as below, I want to make this array to a matrix of
> p=50(rows) and n=20(columns) with the coverage values .
> The code before the array is:
?matrix
mat <- matrix(datfrm$coverage, 50, 20)
filled.contour(mat) # u
Hi,
I have a 3d array as below, I want to make this array to a matrix of p=50(rows)
and n=20(columns) with the coverage values .
The code before the array is:
library(binom)
Loading required package: lattice
pi.seq<-seq(from = 0.01, to = 0.5, by = 0.01)
no.seq<-seq(from = 5, to = 100, by = 5)
cp
3 matches
Mail list logo