Tutorial | Home

Hello everyone! welcome to my tutorial page hosted on GitHub. Here, I have complied some basic tutorial of statistical and phylogenetic analysis. Statistical analysis can be execute in R statistical programming. Different free softwares can be used for phylogenetic analysis.

View My GitHub Profile

Chi-Square Test in R

library(“MASS”) print(str(Cars93))

Create a data frame from the main data set.

car.data=data.frame(Cars93$AirBags, Cars93$Type)

Create a table with the needed variables.

car.data=table(Cars93$AirBags, Cars93$Type) print(car.data)

Perform the Chi-Square test.

print(chisq.test(car.data))