addType: Add factor column

View source: R/addType.R

addTypeR Documentation

Add factor column

Description

Add an extra factor ("type") column to the existing dataframe

Usage

addType(projectName, typePlace = 3, typeName = "type2", save = TRUE)

Arguments

projectName

the short name in use for the project.

typePlace

a number that indicates the position of the photograph name to be stored as the 'type' vector'. Defaults to 3. For more details see IJMacro

typeName

a character string that indicates what to name the typeVector. Defaults to "type2".

save

denotes whether to overwrite the existing .csv file or just update the .df in the R global environment. Defaults to TRUE.

Value

updates the existing dataframe

Examples

## Not run: 
addType("myProject", typePlace=4, typeName="temperature")

## End(Not run)

acgerstein/diskImageR documentation built on May 18, 2024, 4:15 a.m.