Last chance! 50% off unlimited learning
Sale ends in
Print a sh
object in two ways. By default, the results are shown in
the R console. The results can also be exported to the directory.
# S3 method for sh
print(x, export = FALSE, file.name = NULL, digits = 4, ...)
An object of class sh
.
A logical argument. If TRUE
, a *.txt file is exported
to the working directory
The name of the file if export = TRUE
The significant digits to be shown.
Options used by the tibble package to format the output. See
tibble::print()
for more details.
Tiago Olivoto tiagoolivoto@gmail.com
# \donttest{
vcov <- covcor_design(data_g, GEN, REP, everything())
means <- as.matrix(vcov$means)
pcov <- vcov$phen_cov
gcov <- vcov$geno_cov
index <- Smith_Hazel(means, pcov = pcov, gcov = gcov, weights = rep(1, 15))
print(index)
# }
Run the code above in your browser using DataLab