mikajoh / tidystm Goto Github PK
View Code? Open in Web Editor NEWExtract effects from estimateEffect in the stm package
Extract effects from estimateEffect in the stm package
Thanks for your R-package. Unfortunately with the new version of R (3.6.3.), package ‘tidystm’ is not available. Would you please fix this or could you please suggest a workaround? Thanks!
Currently, the package throws an error when you specify the topics option with anything that is not a concurrent sequence starting at 1. For example, if there are 10 topics, you could use the topics option to select 1:3 or 1:7, but the function breaks when you use 4:8 or c(3,5,7) etc.
The issue has an easy fix. The sims object should be created this way:
sims <- cthis$cmatrix %*% t(simbetas[[which(x$topics == i)]])
not this way:
sims <- cthis$cmatrix %*% t(simbetas[[which(x$topics == topics[i])]])
You also need to change the labels selection piece to:
label = labels[which(x$topics == i)]
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.