rep.by.rep: rep by rep function

Description Usage Arguments Details Examples

Description

this makes rep by rep line ups

Usage

1
2
## S3 method for class 'by.rep'
rep(data = NULL, ids = NULL, plot = NULL)

Arguments

data

REQUIRED data.frame to work with

ids

REQUIRED ids of lines to aggreage by i.e. by plot, , must match column names

plot

REQUIRED names of the things to aggreagate i.e. plot, must match column names

Details

This function allows you to make vt trials

Examples

1
2
3
4
5
6
dfa<-data.frame(lines=c(rep(c("DEON", "SABER", "SHELBY"), 2),"DEON"),
rep=c(1,1,1,2,2,2,2),
plots=(1:7))

out<-rep.by.rep(data = dfa, ids = "lines", plot = "plots" )
out

austinjcase/BreedR documentation built on May 16, 2019, 6:45 p.m.