SSplots {TPMplt} | R Documentation |
Automatic completion for Stress-Strain plots
Description
Automatic completion for Stress-Strain plots
Usage
SSplots(x, grpby, manual = NULL, legendscale = 0.7, ...)
Arguments
x |
A data frame with |
grpby |
Layer for variables to be grouped. |
manual |
A positive integer vector with length 3. The first value is layer for Stress and Strain, the sencond value
is for Strain's level in this layer, and the third is Stress's level. Default setting is NULL, to call
|
legendscale |
A positive value to determine the scale of legend. Default value is 0.7 |
... |
Arguments be passed to |
Value
Multiple Stress-Strain plots according to specified group methods.
Examples
require(VBTree)
# Find locations for temperature and strain rate:
# temperature in layer2, strain rate in layer3;
# Strain in layer1 level1, Stress in layer1 level2.
dl2vbt(chrvec2dl(colnames(TPMdata)))
# Attention: Zoom your Plots panes large enough to ensure
# correct output!
# Plot multiple Stress-Strain curves, grouped by strain rate:
SSplots(TPMdata, 3, mfrow=c(3, 3))
# Plot multiple Stress-Strain curves, grouped by temperature:
SSplots(TPMdata, 2, mfrow=c(2, 2))
# Manual setting, for Stress-Stain plots:
SSplots(TPMdata, 2, manual=c(1, 1, 2), mfrow=c(2, 2))