powered by
Calculates the Chi squared value Pearson1900FSinR, evaluating the selected features individually
chiSquared(data, class, features)
A data frame with the features and the class of the examples
The name of the dependent variable
The feature or features to evalute individually
The chi squared value for each selected feature
# NOT RUN { chiSquared(iris,'Species','Sepal.Length') # }
Run the code above in your browser using DataLab