How to pass on the name of a variable in R

后端 未结 0 1815
闹比i
闹比i 2020-12-03 03:00

So, I\'m making a function like

    example <- function(x, y){
z <- data.frame("variable name" = y, "Quantity of 1" = sum(x==1, na.r         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题