Description Usage Arguments Value See Also Examples
Loess smoothing of a well curve
1 2 | fun_smooth(df, x_name = "hours", y_name = "value", no_points = NULL,
fit_degree = 1)
|
df |
takes a |
x_name |
the name of the x variable of type character |
y_name |
the name of the y variable of type character |
no_points |
The number of points in the loess smooth window of type numeric. Defaults to 20% of the length of the x variable |
fit_degree |
The degree of the loess smooth polynomial of type numeric must be less than or equal to 2 |
returns a mtp
object
smooth_mtp
for mtp objects and smooth_mtp_list
for lists of mtp objects
Other smoothing.functions: smooth_mtp_list
,
smooth_mtp
1 2 3 4 | df <- df_mtp$mtp[[1]]
curve <- subset(df, curve_id == 1)
fun_smooth(curve)
fun_smooth(curve, no_points = 40)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.