[R] Parameter of a function used after $ in a data frame

Rui Barradas ruipbarradas at sapo.pt
Wed Aug 13 18:25:05 CEST 2014

I don't believe I understand your question, but here it goes.

dat <- data.frame(x = rnorm(100), y = runif(100))


Hope this helps,

Rui Barradas

Em 13-08-2014 12:33, madhvi.gupta escreveu:
> Hi,
> Can anyone please tell me how to use a argument of a function after $
> sign of a data frame.That argument is one of the column name of the data
> frame.
> Thanks,
> Madhvi
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list