swSoils_Layers | R Documentation |
Interact with the soil layer data frame
swSoils_Layers(object)
swSoils_Layers(object) <- value
## S4 method for signature 'swSoils'
swSoils_Layers(object)
## S4 replacement method for signature 'swSoils'
swSoils_Layers(object) <- value
## S4 method for signature 'swInputData'
swSoils_Layers(object)
## S4 replacement method for signature 'swInputData'
swSoils_Layers(object) <- value
object |
An object of class |
value |
An object that can be converted to a data matrix and represents required soil layer information. |
The replacement method swSoils_Layers<-
for class swInputData
resizes SWRCp
to match number of new soil layers
(and reset SWRCp
values to NA
) if "has_swrcp"
is FALSE
.
This is to avoid inconsistency between
soil properties and SWRCp
.
The correct sequence for setting values is
swSoils_Layers()
,
swSite_SWRCflags()
, and
swSoils_SWRCp()
and swSite_hasSWRCp()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.