Functions for generating, analysing, checking and plotting statistical models
timnewbold / statisticalmodels Goto Github PK
View Code? Open in Web Editor NEWFunctions for generating, analysing, checking and plotting statistical models
Functions for generating, analysing, checking and plotting statistical models
I am sure that it's something wrong with my setup but I can't figure out how to install this package. I have tried with a URL and the tar.gz file but I receive a message to say it isn't available with this version of R. I'm using R 4.2.3 and Rtools42.
As a workaround, I downloaded the R scripts from the zip file available here and loaded them as functions into R. e.g. source("GLMER.R"). But when I try to run the glmer function for example, it says the function does not exist. Code below taken from https://timnewbold.github.io/PredictsIntroduction.html#human-pressure-information does not work even after sourcing all the R files included in the StatisticalModels package.
richMod1 <- StatisticalModels::GLMER(modelData = sites,
responseVar = "Species_richness",
fitFamily = "poisson",
fixedStruct = "LandUse",
randomStruct = "(1|SS)+(1|SSB)",
saveVars = c("Longitude","Latitude"))
Error message:
Error in glmer("Species_richness~LandUse+(1|SS)+(1|SSB)", family = fitFamily, :
could not find function "glmer"
Adding the following line into the function underneath line 10 should be all that is needed
randomTerms <- unlist(sapply(randomTerms,function(x) strsplit(x,'[:]')))
Hey mate, thx heaps for your efforts with this package. We're looking to cite in a paper soon to come out, but when we use the citation()
function in R, this is the output:
To cite package ‘StatisticalModels’ in publications use: Who wrote it (2015). StatisticalModels: What the package does (short line). R package version 0.1.
Any chance you can update that functionality in the package and/or provide us with a bit more complete info.
At the moment, this is our best shot at a reference:
Newbold, T. (2015). StatisticalModels (0.1) [Computer software].
https://rdrr.io/github/timnewbold/StatisticalModels/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.