{linq} R# Documentation

linq


require(R);

#' Provides a set of static (Shared in Visual Basic) methods for querying objects
imports "linq" from "REnv";

Provides a set of static (Shared in Visual Basic) methods for querying objects that implement System.Collections.Generic.IEnumerable`1.



.NET clr function exports
left_join

A left join is a type of relational join operation that combines two datasets based on a common column or variable. The result of a left join includes all the rows from the left dataset and any matching rows from the right dataset.

progress

apply for the pipeline progress report

as.index

create data index for the given input data sequence

take

take the first n items from the given input sequence data

match

Value Matching

match returns a vector of the positions of (first) matches of its first argument in its second. find the index of the elements in input sequence `x` in the source target sequence `table` find the index of (where x in table)

skip

Bypasses a specified number of elements in a sequence and then returns the remaining elements.

which.max

Where is the Min() or Max() or first TRUE or FALSE ? Determines the location, i.e., index of the (first) minimum or maximum of a numeric (or logical) vector.

which.min

Where is the Min() or Max() or first TRUE or FALSE ? Determines the location, i.e., index of the (first) minimum or maximum of a numeric (or logical) vector.

last

get the last element in the sequence

sort

Sorting or Ordering Vectors

Sort (or order) a vector or factor (partially) into ascending or descending order. For ordering along more than one variable, e.g., for sorting data frames, see order.

orderBy

Sorts the elements of a sequence in ascending order according to a key.

reverse

reverse a given sequence

any

Are Some Values True?

Given a set of logical vectors, is at least one of the values true?

all

Are All Values True?

Given a set of logical vectors, are all of the values true?

while
split

split content sequence with a given condition as element delimiter.

rotate_right
rotate_left
select

Keep or drop columns using their names and types

Select (and optionally rename) variables in a data frame, using a concise mini-language that makes it easy to refer to variables based on their name (e.g. a:f selects all columns from a on the left to f on the right) or type (e.g. where(is.numeric) selects all numeric columns).


[Document Index]