Description Usage Arguments Value
View source: R/Soils_Functions.R
Merge datafiles from two soil data sources (source 1 overrides source 2) and choose some or none of the variables to come from one source only.
1 2 3 4 5 6 7 8 9 10 11 12 | merge_2soils(
fmaster,
fmaster1,
fmaster2,
fslayer,
fslayer1,
fslayer2,
fstexture,
fstexture1,
fstexture2,
var_from2 = NULL
)
|
fmaster |
A character string. Path to the target master file. |
fmaster1 |
A character string. Path to master file derived from extracting from soil data source 1 |
fmaster2 |
A character string. Path to master file derived from extracting from soil data source 2 |
fslayer |
A character string. Path to the target soil layer structure file. |
fslayer1 |
A character string. Path to soil layer file derived from data source 1 |
fslayer2 |
A character string. Path to soil layer file derived from data source 2 |
fstexture |
A character string. Path to the target soil texture input file. |
fstexture1 |
A character string. Path to soil texture file derived from data source 1 |
fstexture2 |
A character string. Path to soil texture file derived from data source 2 |
var_from2 |
A vector of character strings. Variables of the soil texture file, which will be take values from source2 if available even if source1 is available |
A logical value. This function is called for its side effects, i.e.,
storing updated/new files to fmaster
, fslayer
, and
fstexture
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.