firstsMeasurements: First Measurements per Group

Description Usage Arguments Value Examples

View source: R/firstsMeasurements.R

Description

this function generates a field "primeiraMedicao" that contains the lowest age for each item in the group both derived from dtFrame

Usage

1
firstsMeasurements(dtFrame, group = "parcela", age = "idadearred")

Arguments

dtFrame

It is the database that contains the data

group

is the field that represents the groups default parcela

age

default idadearred is the name of field containing the values of the group

Value

data.frame dtFrame with the field "primeiraMedicao"

Examples

1
2
3
4
dtf = data.frame(
grupo = c(1,2,3,4,1,2,3,4),
medicoes= c(10,20,30,40,5,30,1,52))
firstsMeasurements(dtf, group = "grupo", age = "medicoes")

ITGM documentation built on Jan. 20, 2021, 5:06 p.m.