library(EstimateBreed)
GEN <- c("Genotype1", "Genotype2", "Genotype3", "Genotype4", "Genotype5")
SI <- c(10, 15, 12, 18, 14)
NE <- c(100, 150, 120, 180, 140)
data <- data.frame(GEN,SI,NE)
with(data, tamef(GEN, SI, NE, method = "classic"))
Run the code above in your browser using DataLab