Learn R Programming

DSSAT (version 0.0.9)

write_dssbatch.tbl_df: tbl_df method for write_dssbatch()

Description

tbl_df method for write_dssbatch()

Usage

# S3 method for tbl_df
write_dssbatch(x, trtno = 1, rp = 1, sq = 0, op = 0, co = 0, file_name = NULL)

Arguments

x

a tibble/data frame or character vector; if a tibble, it should contain all required columns of a DSSAT batch file (FILEX, TRTNO, RP, SQ, OP, CO); if a character vector, it should contain FileX file names

trtno, rp, sq, op, co

a numeric vector

file_name

an optional character vector of the intended batch file name