Posts

Linear mixed model formulation

Introduction Mixed models are quite tricky, in that, while being very powerful extensions of linear models, they are somewhat difficult to conceptualize and otherwise to specify. Mixed models have, in addition to usual fixed effect combination of factors, random effects structure.

Rice landraces of Nepal: A reflection of past

Background This is really a brash article meant to convey exactly what title hints at. Much of the contents are translated/transliterated from “Rice Science and Technology in Nepal: A historical, socio-cultural and technical compendium”, which was published in 2017.

Batch scripting and using open source video downloader

Background Open source community is a host of invaluable tools for raising productivity. One of these tools include youtube-dl which is a shell/command line based tool for making requests and streaming data. In addition, it links to the popular ffmpeg library to weave together video and streams, all seamlessly.

Design and analysis of spit plot experiments

Split plot design Design and fieldbook template In a field experiment to test for effects of fungicide on crop, treatment of fungicides may be distinguised into multiple factors – based on chemical constituent, based on formulation, based on the mode of spray, etc.

Layout and visualization of experimental design

Functional approach to creating and combing multiple plots This approach highlights features of gridExtra package that allows combining multiple grob plots using function calls. We explicitly use lapply/split or similar class of purrr functions to really scale the graphics.

Design and analysis of balanced randomized complete block (RCBD) experiment

Introduction Balanced block designs are a class of randomized experimental design that contain equal number of records for a particular level of categorical variable across all blocks. Example 1 Let us generate some data from random process mimicking a single factor process consisting of 3 levels.

Agriculture development chronology in Nepal

Toolbox for working with Unicode and Nepali fonts Here’s a collection of excellent python scripts to convert back and forth among unicode and preeti font. To convert unicode text to preeti font: https://github.com/globalpolicy/UnicodeToPreeti To convert preeti font to unicode text:

Developing flowcharts: an illustration of wheat breeding scheme

Flow diagrams are jam-packed with information. They normally describe a process and actors that are involved in making that happen. With r package diagram, which uses r’s basic plotting capabilities, constructing flowcharts is as easy as drawing any other graphics.

Expressing timestamp data in calendar

Unlike composing a text memos and keeping tracks of those, calendar graphics is a highly effective visual aid to taking notes and summarizing them. Well, we all have used calendar, one way or the other, in our lifetimes.

Image and video editing hacks using ffmpeg

Compose a slideshow This is beginner’s tutorial for starting up with open source ffmpeg library. In the beginning, it’s shown how we can convert an image gallery to a video slideshow. For example we have a directory called images filled with photos that we want to knit together to obtain a slideshow.