Description Usage Arguments Details Value Author(s) Examples
Creat the thresholds for the high_low_vector
1 | getthresholds(dataset, var_of_interest, type = "median")
|
dataset |
dataframe, a dataframe contain interesting variable. |
var_of_interest |
character, a vector interesting variables |
type |
character, the method of choose thresholds, (median or mean), default is median |
TODO
a vector thresholds of interesting variable.
Shuangbin Xu
1 2 3 4 5 6 7 8 | library("MetaMicrobiome")
data <- read.csv(system.file("data",
package="MetaMicrobiome",
"Baxter_16_alpha_data.csv.gz"))
thresVetor <- getthresholds(dataset=data,
var_of_interest=c("Shannon",
"Observe"),
type="median")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.