predict_on_cells: Predict a model on a dataset. Intended to predict on to a...

Description Usage Arguments Value

View source: R/predict.R

Description

Predict a model on a dataset. Intended to predict on to a cell count

Usage

1
predict_on_cells(model, data, draws = 1000)

Arguments

model

a lm, glm, glmer, stan_glmer, or sparsereg object

data

a data frame with the appropriate predictors, output from count_cellsize

draws

number of posterior draws in stan

Value

A vector of predicted values


kuriwaki/sparseregMRP documentation built on March 20, 2020, 9:58 p.m.