Learn R Programming

TrialEmulation (version 0.0.4.2)

check_newdata: Check Data used for Prediction

Description

Check Data used for Prediction

Usage

check_newdata(newdata, model, predict_times)

Value

A newdata data.frame

Arguments

newdata

new data to predict, or missing.

model

glm model object.

predict_times

times to predict to add to resulting newdata.