Coding Musings

Trying to share some code ideas

logo

Tag: R

R Markdown to WordPress

Posting an Rmd File to WordPress

There are four R packages you will need to be able to post an Rmd file to WordPress. Yes there are alternatives you can generate the HTML yourself and copy and paste things, but why would you want to do it?

Read More

Class for Parsing NGrams

Train an NGram Model

Will take the ngrams, reading and writing from the SQLite database and train the model utilizing Katz-Backoff methodology on the likelihood of the next word.

See code below

Read More

File Handler for RDS Formatted Files

File Handler for RDS Formatted Files

Using a list, load RDS formatted files into standard data frame. Allows for grouping multiple files into one data frame for processing.

See code below

Read More

SQLite Interface Class for R

SQLite Interface Class for R

I wrote an interface class to help with working with the SQLite database.

Methods include, selectQuery, updateQuery, readTable, writeTable

 

see code below

Read More

Powered by WordPress & Theme by Anders Norén