Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

addType

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)

diskImageR

A Pipeline to Analyze Resistance and Tolerance from Drug Disk Diffusion Assays

v1.0.0
GPL-3
Authors
Aleeza Gerstein [aut, cre], Inbal Hecht [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.