Description Usage Arguments Examples
View source: R/Standing-Katz.R
Generate a matrix of Standing-Katz pseudo-reduced pressure and tenperature by giving vector values
1 2 | getStandingKatzMatrix(ppr_vector = NULL, tpr_vector = NULL,
pprRange = "lp")
|
ppr_vector |
a vector of pseudo-reduced pressure |
tpr_vector |
a vector of pseudo-reduced temperatures |
pprRange |
Takes one of two values: "lp": low pressure, or "hp" for high pressure. Default: "lp" |
1 2 3 4 5 6 7 8 9 10 11 | # if we want to know all digitized values of Ppr at a Tpr curve
tpr_vec <- c(2.0)
getStandingKatzMatrix(tpr_vector = tpr_vec,
pprRange = "lp")
# or to extract at a Ppr=1.5
getStandingKatzMatrix(tpr_vector = tpr_vec, pprRange = "lp")[1, "1.5"]
# for two vectors
ppr <- c(0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5)
tpr <- c(1.3, 1.5, 1.7, 2)
sk <- getStandingKatzMatrix(ppr_vector = ppr, tpr_vector = tpr)
print(sk)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.