BGLR(y, response_type = "gaussian", a=NULL, b=NULL,ETA = NULL, nIter = 1500,
burnIn = 500, thin = 5, saveAt = "", S0 = NULL,
df0 =5, R2 = 0.5, weights = NULL,
verbose = TRUE, rmExistingFiles = TRUE)"gausian" or "ordinal". The Gaussian outcome may be censored or not (see below).
If response_type="gaussian", y should be coercible to numeric. If ra and b are vectors specifying lower and
upper bounds for censored observations, respectively. The default value, for non-censored and ordinal
oNULL. If weights is not NULL, the
residual variance of each data-point is set to be proportional to the square of the weight. Only
used with GaussiS0) The proportion of variance that one expects, a priori, to be explained by the regression. Only used if
the hyper-parameters are not specified; if that is the case, internaly, hyper-paramters are set so that th #Demos
library(BGLR)
#BayesA
demo(BA)
#BayesB
demo(BB)
#Bayesian LASSO
demo(BL)
#Bayesian Ridge Regression
demo(BRR)
#BayesCpi
demo(BayesCpi)
#RKHS
demo(RKHS)
#Binary traits
demo(Bernoulli)
#Ordinal traits
demo(ordinal)
#Censored traits
demo(censored)Run the code above in your browser using DataLab