assist {tutoR}R Documentation

Step-by-step assistance to call a function

Description

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.

Usage

assist(func)

Arguments

func Any R function, such as plot, matrix, par or seq. 'func' may be quoted ("func") or unquoted.

Details

A collection of functions are called upon. assist(matrix), for example, will call upon assist.matrix. Similarly for assist(plot) and assist(seq).

See Also

args, eg, help.

Examples


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)


[Package tutoR version 0.3.2 Index]