Learn R Programming

simfit (version 0.1.0)

Test Model Fit with Simulation

Description

Simulates data from model objects (e.g., from lm(), glm()), and plots this along with the original data to compare how well the simulated data matches the original data to determine model fit.

Copy Link

Version

Install

install.packages('simfit')

Monthly Downloads

181

Version

0.1.0

License

GPL-3

Maintainer

James Green

Last Published

May 17th, 2021

Functions in simfit (0.1.0)

symptom

Responses to symptoms from a sample of the general population of Pakistan.
sim.plot

Plot simulated data from a GLM model
pred.plot

Add model fit line (with SE) to GLM models (Poisson, negative binomial etc)
%>%

Pipe operator
pred.fit

Fit Simulated Data to a Model.