Skip to content

Tag Archives: R DataFrame-Function

In R programming, data which is split by split() function can be reassembled back using unsplit() function. This function is reverse of split() function. In… Read More
split() function in R Language is used to divide a data vector into groups as defined by the factor provided. Syntax: split(x, f, drop =… Read More
tail() function in R Language is used to get the last parts of a vector, matrix, table, data frame or function. Syntax: tail(x, n) Parameters:… Read More
head() function in R Language is used to get the first parts of a vector, matrix, table, data frame or function. Syntax: head(x, n) Parameters:… Read More
rcauchy() function in R Language is used to compute random cauchy density among a range of inputs. Syntax: rcauchy(N, scale) Parameters: N: Sample Size scale:… Read More
na.omit() function in R Language is used to omit all unnecessary cases from data frame, matrix or vector. Syntax: na.omit(data) Parameter: data: Set of specified… Read More
glm() function in R Language is used to fit linear models to the dataset. Here, glm stands for a generalized linear model. Syntax: glm(formula) Parameters:… Read More
is.unsorted() function in R Language is used to check if an object is sorted or not. It returns False if the object is sorted otherwise… Read More
sample_n() function in R Language is used to take random sample specimens from a data frame. Syntax: sample_n(x, n) Parameters: x: Data Frame n: size/number… Read More
summarise() function in R Language is used to condense various values of column of a data frame to one value. Syntax: summarise(x, expr) Parameters: x:… Read More
mutate() function in R Language is used to add new variables in a data frame which are formed by performing operation on existing variables. Syntax:… Read More
rename() function in R Language is used to rename the column names of a data frame, based on the older names. Syntax: rename(x, names) Parameters:… Read More
select() function in R Language is used to choose whether a column of the data frame is selected or not. Syntax: select(x, expr) Parameters: x:… Read More
is.table() function in R Language is used to check if an object is a table. Syntax: is.table(x) Parameters: x: Object to be checked Example 1:… Read More
as.table() function in R Language is used to convert an object into a table. Syntax: as.table(x) Parameters: x: Object to be converted Example 1: #… Read More