Tag Archives: R-Functions

A function is a set of statements orchestrated together to perform a specific operation. A function is an object so the interpreter is able to… Read More
readLines() function in R Language reads text lines from an input file. The readLines() function is perfect for text files since it reads the text… Read More
scan() function in R Language is used to scan and read data. It is usually used to read data into vector or list or from… Read More
colorRampPalette() function in R Language is used to create a color range between two colors specified as arguments to the function. This function is used… Read More
col2rgb() function in R Language is used to convert R color to RGB (red/green/blue). Syntax: col2rgb(col) Parameters: col: vector of any of the three kinds… Read More
rainbow() function in R Language is a built in color palettes which can be used to quickly generate color vectors of desired length taken as… Read More
colors() function in R Language is used to specify the shade of the color red, green, and blue between 0 and 1. Further the specified… Read More
print() function in R Language is used to print out the argument to the screen. Syntax: print(x, digits, na.print) Parameters: x: specified argument to be… Read More
polygon() function in R Language is used to plot a polygon between specified points in an existing plot. Syntax: polygon(x_coordinates, y_coordinates) Parameters : x_coordinates, y_coordinates:… Read More
lm() function in R Language is a linear model function, used for linear regression analysis. Syntax: lm(formula) Parameters: formula: model description, such as x ~… Read More
summary() function in R Language is a generic function used to produce result summaries of the results of various model fitting functions. Syntax: summary(object, maxsum)… Read More
as.call() function in R Language is used to coerce the object of mode “list” to mode “call”. The first element of the list becomes the… Read More
is.call() function in R Language is used to determine whether x is a call or not. Syntax: is.call(x) Parameters: x: an arbitrary R object Example… Read More
call() function in R Language is used to create or test for objects of mode “call”. Syntax: call(name, …) Parameters: name: a non-empty character string… Read More
plot() and with() functions are used to draw and add color between a particular area of two points of Kernel Density Plot in R Language.… Read More