KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm interested if there's a package in R to support call-chain style data manipulation, like in C#/LINQ, F#? I want to enable style like this: var list = new[] {1,5,10,12,1}; var newList = list .Where(x => x > 5) .GroupBy(x => x%2) .OrderBy(x => x.Key.ToString()) .Select(x => "Group: " + x.Key) .ToArray(); UPD: it appears that the pipe operator |> was added to the core R in version 4.1.0
Tags (comma-separated)
Save Edits
Cancel