Wednesday 1 February 2017

intepretation of tapply and tapply function

intepret tapply 


tapply(USDA$Iron, USDA$HighProtein, mean, na.rm=TRUE)# Maximum level of Vitamin C in hfoods with high and low carbs?  tapply(USDA$VitaminC, USDA$HighCarbs, max, na.rm=TRUE)# Using summary function with tapply  tapply(USDA$VitaminC, USDA$HighCarbs, summary, na.rm=TRUE)  data------- available on   ---- http://rcodee.blogspot.sg/

3 comments:

  1. could u elaborate tapply function. what is the purpose to use it.

    ReplyDelete
    Replies
    1. tapply(arg1,arg2, arg3, na.rm=TRUE)

      arg2- to split your data
      arg3- what you want to find for arg1

      Delete
  2. for more details go for this paper
    https://www.instamojo.com/shikhasha/?ref=offer_header

    ReplyDelete