polynomial_model: polynomial_model

Description Usage Arguments Value Author(s) Examples

View source: R/polynomial_model.R

Description

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

Usage

1
polynomial_model(x, A, c0, n)

Arguments

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

Value

A*(x-c0)^n

Author(s)

Thomas Braschler

Examples

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")

tbgitoo/rheologyEvaluation documentation built on March 19, 2021, 8 p.m.