Google News
logo
R - Interview Questions
What is the use of With () and By () function in R?
with() function applies an expression to a dataset.
#with(data,expression)

By() function applies a function t each level of a factors.
#by(data,factorlist,function)
Advertisement