View source: R/Emmreml-related.R
batch_emm | R Documentation |
run emmreml for multiple variable in one time
batch_emm( info, variable, resids, rel, lps_name = "treatment", numcore = 3, sname = "sname.x", plot = F, savedir = "NA", x_axis_size = 20 )
info |
meta info data frame containing lps and other variable |
variable |
a vector of variables to be included in emmreml |
lps_name |
name of "LPS"/"NULL" column, default to "treatment" |
numcore |
default to 3 |
sname |
default to "sname.x" |
plot |
plot p histogram or not, default to F |
savedir |
if you want to save the picture, specify a dir |
x_axis_size |
font size of the x axis title, default to 20 |
resids_female |
GE residuals data frame, will automatically be transformed to matrix |
rel_female |
relatedness data frame, same as above |
a combined result datarame
batch_emm(meta_info,c("age","rank"),resids,rel)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.