Skip to content

Commit

Permalink
Changed SpATS models to use center = TRUE in PSANOVA (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
BartJanvanRossum committed May 18, 2021
1 parent 0821836 commit 30d59b6
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/fitModels.R
Original file line number Diff line number Diff line change
Expand Up @@ -328,12 +328,13 @@ fitModels <- function(TP,
}
## number of segments for SpATS.
nseg <- c(length(unique(modDat[["colNum"]])),
length(unique(modDat[["rowNum"]]))) #/ 2
length(unique(modDat[["rowNum"]])))
## Fit and return the model.
SpATS::SpATS(response = trait, fixed = fixedForm,
random = randForm,
spatial = ~ SpATS::PSANOVA(colNum, rowNum, nseg = nseg,
nest.div = c(2, 2)),
nest.div = c(2, 2),
center = TRUE),
genotype = genoCol, genotype.as.random = genoRand,
geno.decomp = geno.decomp, data = modDat,
control = list(maxit = 50, tolerance = 1e-03,
Expand Down
Binary file modified inst/tinytest/corr1Comp
Binary file not shown.
Binary file modified inst/tinytest/corr2Comp
Binary file not shown.
Binary file modified inst/tinytest/corr3Comp
Binary file not shown.
Binary file modified inst/tinytest/corr4Comp
Binary file not shown.
Binary file modified inst/tinytest/corr5Comp
Binary file not shown.
Binary file modified inst/tinytest/corr6Comp
Binary file not shown.
Binary file modified inst/tinytest/gp1Comp
Binary file not shown.
Binary file modified inst/tinytest/gp2Comp
Binary file not shown.
Binary file modified inst/tinytest/gp3Comp
Binary file not shown.
Binary file modified inst/tinytest/gp4CheckComp
Binary file not shown.
Binary file modified inst/tinytest/gp4Comp
Binary file not shown.
Binary file modified inst/tinytest/gp5Comp
Binary file not shown.
Binary file modified inst/tinytest/gp6CheckComp
Binary file not shown.
Binary file modified inst/tinytest/gp6Comp
Binary file not shown.

0 comments on commit 30d59b6

Please sign in to comment.