Skip to content

Commit

Permalink
Add haritonenko.sugarbeet.uniformity
Browse files Browse the repository at this point in the history
  • Loading branch information
kwstat committed Mar 29, 2024
1 parent 0b574f7 commit 94507bb
Show file tree
Hide file tree
Showing 6 changed files with 524 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## New datasets added

* haritonenko.sugarbeet.uniformity
* roemer.sugarbeet.uniformity

## Other notes
Expand Down
17 changes: 17 additions & 0 deletions data-raw/haritonenko.sugarbeet.uniformity.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# kharitonenko.sugarbeet.uniformity.R

libs(desplot,dplyr,kw,lattice,magrittr,readxl,readr,reshape2,tibble)

setwd("c:/drop/rpack/agridat/data-raw/")
dat <- read_excel("haritonenko.sugarbeet.uniformity.xlsx","Sheet1", col_names=FALSE)

dat %<>% as.matrix %>% `colnames<-`(1:ncol(dat)) %>% melt %>% rename(row=Var1,col=Var2,yield=value)

require(desplot)
desplot(dat, yield ~ col*row,
flip=TRUE, aspect=(104*1.33*7)/(4*22.5*7), ticks=TRUE,
main="haritonenko.sugarbeet.uniformity")

haritonenko.sugarbeet.uniformity <- dat

agex(haritonenko.sugarbeet.uniformity)
Binary file added data-raw/haritonenko.sugarbeet.uniformity.xlsx
Binary file not shown.
Loading

0 comments on commit 94507bb

Please sign in to comment.