| assist {tutoR} | R Documentation |
assist displays how a given function is to be called, with a syntax
as given by args. For a number of chosen functions, the function
call is constructed step-by-step, prompting for User-specifications.
assist(func)
func |
Any R function, such as plot, matrix, par
or seq. 'func' may be quoted ("func") or unquoted. |
A collection of functions are called upon. assist(matrix), for example,
will call upon assist.matrix. Similarly for assist(plot)
and assist(seq).
assist() ## Gives menu of available functions to assist
x <- 1:9
assist(matrix) ## To construct say: matrix(x^2, byrow=TRUE, ncol=3)
assist(plot) ## To construct say: plot(x, x^5, type="o")
assist(par) ## To set options in 'par'
assist(seq) ## To generate a given sequence
assist(apply) ## Incorporating 'sapply' and 'tapply'
assist(list) ## Or assist(combine). Incorprating, assist(data.frame),
## as well as assist(list), assist(cbind), assist(rbind)