Agronomy4future
  • CURRICULUM VITAE
  • BASIC STAT
  • STATISTICAL MODEL
    • ANOVA
    • REGRESSION
    • SPLIT-PLOT
    • GLM
    • Mixed Model
    • REML
    • NONLINEAR
  • CODING
    • R coding
    • SAS
    • PYTHON
    • Machine Learning
  • DATABASE
    • Structured query language (SQL)
    • EXCEL/VBA
    • Power Query
    • Data Science
  • JK column

Agronomy4future

Stories about cereals and statistics (plus coding). We aim to develop open-source code for agronomy.

Coding environment

Coding environment

March 4, 2024 JK

Data Science

Post navigation

PREVIOUS
[TimeBlocks Project] 29 Feb 2024
NEXT
Converting Character Values to Numeric in R: A How-To Guide
Comments are closed.
JK Kim 
([email protected])
"We aim to develop open-source code for agronomy"

• GitHub: github.com/agronomy4future
• YouTube:
@agronomy4future

annotate() aov () arrange() c(rep() case_when() colnames() data.frame() ddply () dplyr facet_grid() facet_wrap() filter() fwrmodel() gdds() geom_abline () geom_bar () geom_vline() github HSD.test() if() ifelse() intercept0() kimindex() mutate() nls() nlsLM() normtools() pivot_longer() poly() predict() probdistz() rbind() reshape2::melt() residuals() sapply() scale_fill_manual () spread() str_replace_all () subset() table() tdist() theme_grey() windows () write_xlsx() xtabs()

When the intercept is forced to 0 in a simple linear regression, most software programs report an incorrect R². Therefore, I developed a new R package, #intercept0(), which provides the correct R².

□ Github: https://t.co/In3GS6szFI
□ Code explained: https://t.co/EAL3Rbeo6U pic.twitter.com/LJ2eoUlLeT

— J.K Kim (@agronomy4future) May 11, 2025

This is a simple crop growth simulation code based on the Sigmoid Growth Model. If you assume a certain crop growth curve (e.g., biomass or canopy size) over time, you can set up this simulation curve and track it over time. I am sharing the Python code (https://t.co/RiBpXzpXkP) pic.twitter.com/YatW9RcikP

— J.K Kim (@agronomy4future) March 21, 2025
https://twitter.com/agronomy4future/status/1898040162229403743
https://twitter.com/agronomy4future/status/1896429984878825652

I became curious about mapping U.S. agriculture universities, so I used the #Folium package in #Python to create an easy-to-use #GIS map. Here’s the code to visualize their locations across the U.S. (https://t.co/mupLakgyms) pic.twitter.com/LB5u4lb2gy

— J.K Kim (@agronomy4future) February 12, 2025

I will continue my #Agrivoltaics study at Cornell University. Over the past 1.5 years, I have conducted research on the source-sink strength of crops in response to shading at the University of Illinois Urbana-Champaign, and I look forward to gaining further insights at Cornell. pic.twitter.com/o1kxJLR32e

— J.K Kim (@agronomy4future) January 13, 2025

At the 2024 ASA meeting in San Antonio, I presented my current #agrivoltaics study and proposed distinct farming strategies for sorghum and soybean at pre- and post-anthesis, respectively, focusing on yield components (grain number and weight) in terms of source-sink strength. pic.twitter.com/QdV2kEP9zQ

— J.K Kim (@agronomy4future) November 19, 2024

The Log-Likelihood is a crucial component in statistical modeling, as it helps evaluate how well a model fits the data. In this article, I will explain how to calculate the Log-Likelihood by hand. There is an exercise you can try with an actual dataset (https://t.co/Q1b7693UUB) pic.twitter.com/YrV2SxnzzE

— J.K Kim (@agronomy4future) November 8, 2024

[STAT Article] Step-by-Step Guide to Calculating and Analyzing Principal Component Analysis (PCA) by Hand (https://t.co/IB1kXGYGiJ)

In this article, I introduce how to calculate and analyze Principal Component Analysis (PCA) by hand step by step. pic.twitter.com/HmjHOvOtaB

— J.K Kim (@agronomy4future) November 1, 2024

□ R package: normtools() for Normalization Methods for Data Scaling.

Recently, I developed an R package to normalize data using various methods (Z-test, Robust Scaling, Min-Max Scaling, and Log Transformation) for data scaling.

□ Code explained: https://t.co/EE8fatSqks pic.twitter.com/0u99SrvPLn

— J.K Kim (@agronomy4future) October 8, 2024

I share a simple R code to create a GIS map like the one below.

□ Code explained: https://t.co/IdIlabCRns pic.twitter.com/5WOXubwxrm

— J.K Kim (@agronomy4future) September 22, 2024

Soybeans are nearing final maturity in the Champaign area of IL, with an estimated harvesting date in the 2nd week of October. pic.twitter.com/15czIZuuw3

— J.K Kim (@agronomy4future) September 19, 2024

I've developed an R package, #gdds(), to easily calculate Growing Degree Days (#GDDs) with a base temperature (BT).

□ Cumulative temp when BT is 0
GDDs = gdds(df, "date", "temp", "group", date= c("0000-00-00", "0000-00-00"), BT= 0)

□ Github: https://t.co/p4oUI3XEnM pic.twitter.com/psKtHWZNiR

— J.K Kim (@agronomy4future) September 15, 2024

#kimindex() is a simple R package I developed to predict grain weight from area based on ŷ=x^1.32

# basis code
□ predicted_gw=kimindex(df, "grain_area", remove_na= TRUE)
□ predicted_area=kimindex1(df, "grain_weight", remove_na= TRUE)

□ Code explained: https://t.co/ISaQIGuQTr pic.twitter.com/ERguU3fee7

— J.K Kim (@agronomy4future) September 10, 2024

probdistz() R package
When creating a probability curve, the process can be a bit tricky. Recently, I developed an R package called #probdistz() to simplify this.

# basic code
probdistz(data, env_cols, yield_cols, smooth= TRUE)
#

□ Github: https://t.co/rKw7FkyHPq pic.twitter.com/bv2VjZ6vdx

— J.K Kim (@agronomy4future) September 2, 2024

Using a simple Python code, a GIS map can be created if we have coordinates (latitude and longitude) along with yield data. I will share the Python code. "Python GIS: Interpolating and Plotting Corn Grain Yield Data." https://t.co/RMS9MoWEZl pic.twitter.com/RUCP7O1SCX

— J.K Kim (@agronomy4future) August 18, 2024

The booting stage of grain #sorghum occurs ca. 50 to 60 days after emergence and is characterized by the sorghum panicle being enclosed in the flag leaf sheath. During this time, the panicle is pushed up through the flag leaf collar by the upper stalk, known as the peduncle. pic.twitter.com/j40XsR4WLy

— J.K Kim (@agronomy4future) July 24, 2024

The female flower of Cannabis sativa characterized by its resinous buds, which are the primary source of cannabinoids such as THC and CBD. pic.twitter.com/otqoPvyFQq

— J.K Kim (@agronomy4future) June 14, 2024

Stepwise regression is a method that iteratively constructs a regression model by selecting independent variables to include in the final model, and I summarized the basic concept.
#
Stepwise Regression: A Practical Approach for Model Selection using R (https://t.co/YeLnex72ng) pic.twitter.com/HFOIukVzhk

— J.K Kim (@agronomy4future) May 8, 2024

Data normalization improves scale uniformity and enhances visualization interpretability. I introduce several methods for data normalization.

Data Normalization Techniques: Excel and R as the Initial Steps in Machine Learning (https://t.co/5yUE2fjHfn) pic.twitter.com/7x6mU2ccgf

— J.K Kim (@agronomy4future) April 29, 2024

#Agrivoltaic conference in June 2024. In shaded environments, various studies on crop physiology are available without the need for additional shading installations. Agrivoltaics also makes it an energy-efficient approach in crop science. I love this concept. pic.twitter.com/OiDtyKUxAC

— J.K Kim (@agronomy4future) April 17, 2024

Solar Farm 2.0 #SCAPES Crops Research @ University of Illinois at Urbana-Champaign.
Last season, I altered the sources-sink strength of sorghum and soybean and collected valuable data. This upcoming season, I will analyze the genotypic variance of soybeans in response to shading. pic.twitter.com/76EqBF8kuB

— J.K Kim (@agronomy4future) April 9, 2024

Solar Farm 2.0 Crops Research at UIUC. This is one of my researches I've been involved, and my main interest lies in understanding how shading affects the main yield components and determining the best strategy for managing crop growth under solar panels (https://t.co/ztp25lHCky)

— J.K Kim (@agronomy4future) October 28, 2023

Solar Farm 2.0 SCAPES Crops Research @ University of Illinois Urbana-Champaign. https://t.co/fIqsmoMJYu

— J.K Kim (@agronomy4future) September 12, 2023

Source-sink manipulation was performed on sorghum by removing alternate leaves throughout the entire canopy and half of the head 10 days after flowering, as referenced in Gambín and Borrás (2007). How does sorghum grain weight respond to the change in assimilates? pic.twitter.com/omR7oDQTO8

— J.K Kim (@agronomy4future) August 9, 2023
  • Agricultural Institute
  • AI
  • Article
  • Canada
  • Cereals
  • Conference
  • Crop breeding
  • Crop physiology
  • Data Science
  • España
  • Excel
  • Fertilizer
  • GHGs
  • Google Colab
  • hemp (Cannabis sativa)
  • JK column
  • JMP
  • Machine learning
  • Maize
  • Nederland
  • Principle-Centered Leadership
  • Python programming
  • R programming
  • SAS
  • Soil
  • Sorghum
  • source-sink dynamics
  • Soybean
  • SQL
  • Statistics
  • Tool
  • Uncategorized
  • United States
  • VBA
  • Wheat
  • How to upload data from Google Drive to Google Colab in an R environment?
  • [R package] R-Squared Calculation in Simple Linear Regression with Zero Intercept (Feat. Intercept0)
  • A Step-by-Step Guide to Creating an R Package and Uploading to GitHub
  • How to download data from R environment in Google Colab?
  • Urea (46-0-0) application at the agrivoltaics field in 2024 and 2025
  • How to Upload Data from GitHub Using R and Python?
  • [Data article] Simulating Crop Growth Over Time Using a Sigmoid Growth Model
  • [STAT Article] RMSE Calculation with Excel and R: A Comprehensive Guide
  • What is split-plot design in agronomy research?
  • [데이터 칼럼] 선형 보간법 (Linear Interpolation) 을 사용하여 중간 데이터를 예측해 보자
  • [R Package] Convert Data into Code Instantly – Save as a Script with One Line
  • [R package] An easy way to use interpolation code to predict in-between data points
  • [Data article] Predicting Intermediate Data Points with Linear Interpolation in Excel and R
  • How to Combine Files and Create a New Data Table in MySQL
  • How to Rename Variables within Columns in R (feat. case_when() code)?
  • How to convert to a .json file using Python?
  • How to Use Temporary Tables for Quick Calculations in MySQL?
  • Visualizing Geospatial Data with Folium in Python
  • How to automatically insert linear regression equation in graph in RSTUDIO?
  • [Article] Tiny Plants Reveal Big Potential for Boosting Crop Efficiency – Boyce Thompson Institute – Boyce Thompson Institute
  • [슬기로운 코넬 생활 101] 한국에서 이타카 (Ithaca) 가는 방법
  • [STAT Article] Steps to Calculate Log-Likelihood Prior to AIC and BIC: [Part 2] ANOVA model
  • 2024 ASA, CSSA, SSSA International Annual Meeting in San Antonio, TX
  • [STAT Article] Steps to Calculate Log-Likelihood Prior to AIC and BIC: [Part 1] regression model
  • [STAT Article] Step-by-Step Guide to Calculating and Analyzing Principal Component Analysis (PCA) by Hand
  • Understanding Mean Absolute Error (MAE) in ANOVA: A Step-by-Step Guide to Calculation in Excel
  • Practices in Data Normalization using normtools() in R
  • Sorghum panicle damage
  • How to install Llama 3 in your PC?
  • [R package] Normalization Methods for Data Scaling (Feat. normtools)



© 2022 - 2023 https://agronomy4future.com
© 2025 | Proudly Powered by WordPress | Theme: Nisarg