write_NIRparams | R Documentation |
Write NIR parameters file to disk
write_NIRparams(
file = "",
wd = ".",
surface = "",
reads = "",
nir_variables = "",
subset_file = "",
individual_id = "",
individual_list = NULL,
surface_id = "",
group_id = "",
nir_id = "X"
)
file |
Dataset name. |
wd |
Location of working directory. If not provided, current working directory will be used one. |
surface |
Which leaf surface (abaxial, adaxial, both). |
reads |
Do all the reads will be taken into account (all, mean)? |
nir_variables |
Which NIR variables will be used (all, subset). |
subset_file |
Location of NIR variable subset file, in case option selected in 'nir_variables' was 'subset'. |
individual_id |
Which variable name corresponds to the individual? |
individual_list |
Location of a file containing list of specimens to subset data when building datasets with 'build_NIRdataset' function. |
surface_id |
Which variable name corresponds to the leaf surface? |
group_id |
Which variable name corresponds to the group category? |
nir_id |
A string that can be used to grep column names containing NIR data. Default value is ''X', which precedes all columns with NIR data. |
A message that indicates the file has been saved to disk.
## Not run:
write_NIRparams(file = "teste", wd = ".",
reads = "mean", surface = "abaxial",
nir_variables = "all", surface_id = "face",
individual_id = "especimenid",
individual_list = NULL, group_id = "SP1",
nir_id = "X")
read_NIRparams("teste-NIR.txt")
readLines("teste-NIR.txt")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.