cleanNames {SomaDataIO}R Documentation

Clean Up Character String

Description

Often the names, particularly within soma_adat objects, are messy due to varying inputs, this function attempts to remedy this by removing the following:

Usage

cleanNames(x)

Arguments

x

Character. String to clean up.

Value

A cleaned up character string.

Author(s)

Stu Field

See Also

trimws(), gsub(), sub()

Examples

cleanNames("    sdkfj...sdlkfj.sdfii4994### ")

cleanNames("Hyb..Scale")

[Package SomaDataIO version 6.1.0 Index]