# NOT RUN {
ped <- founderpopgroup(Nm=60, Nm2=0,
Nf=60, Nf2 = 0,
batch = c(0,1,2),
Ntraits=2,
TraitsIndex = 2,
Rgen= matrix(c(1.00 , 0.48,
0.48 , 1.00),
nrow = 2),
Rcom= matrix(c(1.00 , 0,
0 , 1.00),
nrow = 2),
Rres= matrix(c(1.00 , 0.32,
0.32 , 1.00),
nrow = 2),
mean=c(50,500),
a_var=c(200,8000),
c_var=c(0,0),
e_var= c(250,12000))
ped <- founderpopgroup(Nm=60,
Nf=60,
Nm2=120,
Nf2=120,
Nbatch = 4,
batch2 = c(-3,-2,-1,0),
Ntraits=2,
TraitsIndex = c(1,2),
Rgen= matrix(c(1.00 , 0.48,
0.48 , 1.00),
nrow = 2),
Rcom= matrix(c(1.00 , 0,
0 , 1.00),
nrow = 2),
Rres= matrix(c(1.00 , 0.32,
0.32 , 1.00),
nrow = 2),
mean=c(50,500),
a_var=c(200,8000),
c_var=c(0,0),
e_var= c(250,12000),
est_EBV = TRUE,
EBV= c("pheno", "EBV"),
accuracy= c(NA,0.78),
indexweight= c(1,5))
# }
Run the code above in your browser using DataLab