R

How to quickly view object size

Background In object oriented programming, everything is an object – even functions. One of the defining features of OOP, and especially that of R, is that all objects are characterized by their classes. Each class on the other hand have their repective attributes and methods defined.

Stability analysis: how to guide

Meaning of stability Introduction Principles of Biplot analysis Biplot and its Inner-product Property Singular value decomposition and partitioning Column-metric preserving and associated interpretations Row-metric preserving and associated interpretations Data centering prior to SVD Data scaling prior to SVD Four questions to be asked before trying to interpret a biplot Simplest case of biplot analysis Multienvironment trial data AMMI Analysis References Meaning of stability Comparison of treatments may also imply cross comparison of their stability across multiple environments, especially when a study constitutes a series of trials that are each conducted at different locations and/or at different periods in time (henceforth referred to as MET; Multi-Environment Trial).

Resource optimization

library(lpSolve) library(tidyverse) library(formattable) \[ \begin{align} \textbf{Question} \end{align} \] A farmer has 600 katthas of land under his authority. Each of his katthas of land will either be sown with Rice or with Maize during the current season. Each kattha planted with Maize will yield Rs 1000, requires 2 workers and 20 kg of fertilizer.

Dealing with factors

A factor is an headache I have a dataset, cleaning which has been a pain lately. I’m going to use 20 observations of the imported dataset in this post to demonstrate how pathetically have I been advancing with it.