Learn R Programming

x.ent (version 1.1.7)

xtest:

Description

We recommend four testings distribution to compare two samples:
  1. Kolmogorov Smirnov test
  2. Wilcoxon signed rank test
  3. Student's t test
  4. Compare Groups of Growth Curves

Usage

xtest(v1, v2)

Arguments

v1
a vector of the first entity
v2
a vector of the second entity

Details

The function xtest will combine the values in the first entity with the values in the second entity, each pair relations will be looking in documents. If this relationship exists, it will bring a value 1 otherwise 0

See Also

ks.test Kolmogorov Smirnov test wilcox.test Wilcoxon signed rank test t.test Student's t test compareGrowthCurves Compare Groups of Growth Curves

Examples

Run this code
  #get all values of entity bioagressor
  b <- as.vector(xdata_value("b")[["value"]]) 
  xtest("colza",b)

Run the code above in your browser using DataLab