Skip to content

Commit

Permalink
Fixes to website
Browse files Browse the repository at this point in the history
  • Loading branch information
Niku committed Sep 21, 2024
1 parent e752aa7 commit c22a5ba
Show file tree
Hide file tree
Showing 81 changed files with 4,415 additions and 24,051 deletions.
19 changes: 0 additions & 19 deletions R/coefplot.gllvm.R
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,6 @@
#'fit <- gllvm(y, X, formula = ~ pH + Phosp, family = poisson())
#'coefplot(fit)
#'\dontrun{
#'## Load a dataset from the mvabund package
#'data(antTraits, package = "mvabund")
#'y <- as.matrix(antTraits$abund)
#'X <- as.matrix(antTraits$env)
#'# Fit model with environmental covariates
#'fit <- gllvm(y, X, formula = ~ Bare.ground + Shrub.cover,
#' family = poisson())
#'coefplot.gllvm(fit)
#'
#'# Fit model with all environmental covariates
#'fitx <- gllvm(y, X, family = "negative.binomial")
#'coefplot(fitx, mfrow = c(3,2))
#'coefplot(fitx, which.Xcoef = 1:2)
#'
#'# Fit gllvm model with environmental and trait covariates
#'TR <- antTraits$traits
#'fitT <- gllvm(y = y, X = X, TR = TR, family = "negative.binomial")
#'coefplot(fitT)
#'
#'# Fit gllvm model with environmental covariances and reduced rank
#'fitRR <- gllvm(y = y, X = X, num.RR = 2, family = "negative.binomial")
#'coefplot(fitRR)
Expand Down
2 changes: 1 addition & 1 deletion R/gllvm.R
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@
#'fitvX2 <- gllvm(y, X, formula = ~ Bare.ground + Shrub.cover,
#' family = "negative.binomial")
#'ordiplot(fitvX2)
#'coefplot(fitvX2)
#'coefplot.gllvm(fitvX2)
#'# Use 5 initial runs and pick the best one
#'fitvX_5 <- gllvm(y, X, formula = ~ Bare.ground + Shrub.cover,
#' family = "negative.binomial", control.start=list(n.init = 5, jitter.var = 0.1))
Expand Down
150 changes: 99 additions & 51 deletions docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c22a5ba

Please sign in to comment.