1.

What Is The Use Of With () And By () Function In R?

Answer»

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)

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)



Discussion

No Comment Found