addType: Add factor column

Description Usage Arguments Value Examples

Description

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

Usage

1
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

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

## End(Not run)

diskImageR documentation built on May 2, 2019, 11:11 a.m.