write_dssbatch.data.frame: tbl_df method for write_dssbatch()

View source: R/write_dssbatch.R

write_dssbatch.data.frameR Documentation

tbl_df method for write_dssbatch()

Description

tbl_df method for write_dssbatch()

Usage

## S3 method for class 'data.frame'
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


DSSAT documentation built on Nov. 9, 2023, 1:08 a.m.