Print method for SpATS objects
Default print method for objects fitted with
an object of class
further arguments passed to or from other methods. Not yet implemented.
A short summary is printed including: the variable under study (response), the variable containing the genotypes, the spatial model, and the random and fixed components (when appropriate). Besides this information, the number of observations used to fit the model, as well as of those deleted due to missingness or zero weights are reported. Finally, the effective degrees of freedom (effective dimension) of the fitted model and the (REML) deviance is also printed.
1 2 3 4 5 6 7 8 9 10
library(SpATS) data(wheatdata) wheatdata$R <- as.factor(wheatdata$row) wheatdata$C <- as.factor(wheatdata$col) m0 <- SpATS(response = "yield", spatial = ~ SAP(col, row, nseg = c(10,20), degree = 3, pord = 2), genotype = "geno", fixed = ~ colcode + rowcode, random = ~ R + C, data = wheatdata, control = list(tolerance = 1e-03)) m0
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.