Description Usage Arguments Value See Also Examples
Find feature points for a MTP
1 | mtp_feature(mtp, ...)
|
mtp |
a data frame of class mtp |
... |
parameters for the |
a data frame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # pH a 6 hrs
mtp_feature(df_mtp$mtp[[1]], x_out = 6, y_name = "value")
# time to pH 5.5
mtp_feature(df_mtp$mtp[[1]], x_out = 5.5, x_name = "value", y_name = "hours")
# reducing data set to whole hours
reduced_data <- mtp_feature(df_mtp$mtp[[1]], x_out = c(1:10), y_name = "value")
# Calculating features for the whole data frame of mtp's
# Make sure that each piece feed to the do() function is a mtp object.
# the . is a place holder.
library(dplyr)
df_mtp %>%
group_by(file, sheet, Plate) %>%
do(mtp_feature(.$mtp[[1]], x_out = c(1,6)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.