crop: Crop data frame at specific keyword

Description Usage Arguments

View source: R/crop.R

Description

Crop data frame at specific keyword

Usage

1
crop(df, direction = NULL, pos = NULL, regex = NULL, use_after = FALSE)

Arguments

df

Data frame to be processed

direction

Direction of the vector to be pulled from df #'

"h"

specific row of the df will be returned as avector

"v"

specific column of the df will be returned as a vector

pos

Row- or column position to be searched

regex

regex to match keyword

use_after

If TRUE, use part after match


Rindrics/colrectr documentation built on Nov. 12, 2021, 1:01 p.m.