Regression points and regression table on bayesian model I used bas.lm() function to build a bayesian model in R, but when it comes to run the get_regression_table(model) and get_regression_points(model), it says "Only simple and multiple linear regression models are supported. Try again using lm for your models as appropriate". I have a linear model in the form of $y=a+b_i X_i$, my variables are counted in rates (values from 0 to 1). 
What should i do?
my code is:
model <- bas.lm(V128 ~ . , data = subset, method="MCMC", prior = "ZS-null", modelprior = uniform()) 

my data are: 
  https://i.stack.imgur.com/wFTRV.png
 A: It looks like you are using the get_regression_table() function from the moderndive package to extract the summary of the model object produced by the bas.lm() function. However, the get_regression_table() function expects your model object to be obtained with the lm() function not with the bas.lm() function.  This is the reason you are seeing the error. 
Commands that would work for your bas.lm() model object include: 
summary(model): used to print a summary of the results;
plot(model): used to plot posterior distributions for the model coefficients;
coefficients(model): used to extract the posterior summaries of model coefficients.
See R's help documentation for more details: https://www.rdocumentation.org/packages/BAS/versions/0.3/topics/bas.lm. 
The same explanation applies to the function get_regression_points() from the moderndive package - the function only accepts lm() model objects, but your model object is a bas.lm() model object, which is not recognized by get_regression_points(). You can see this from the help file for get_regression_points(), which states: "Currently only lm is supported.". 
