Description Usage Arguments Value Author(s) Examples
View source: R/polynomial_model.R
Evaluation of a polynomial model with an offset for the G' values. The idea is that if the polymer concentration is smaller than the critical concentration c0, the suspension is liquid and we return G'=0, otherwise it's a polynomial function of x-c0 with exponent n and coefficient A
1 | polynomial_model(x, A, c0, n)
|
x |
The variable for the polynomial model |
A |
Proportionality constant for the polynomial relation |
c0 |
Offset for the polynomial model |
n |
Exponent for the polynomial relation |
A*(x-c0)^n
Thomas Braschler
1 2 3 | x=seq(from=0,to=50,length.out=200)
GprimeModel = polynomial_model(x,1,20,3)
plot(x,GprimeModel,type="b",xlab="Polymer concentration",log="y",ylab="Model G' value")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.