RescaleValues: Rescale Values

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Rescales provided vector of values to a user defined range.

Usage

1
RescaleValues(data, newMin = 0, newMax = 1)

Arguments

data

A vector of numerical values to be rescaled

newMin

A numerical value indicating the new minimum value; default: 0

newMax

A numerical value indicating the new maximum value; default: 1

Details

Rescale the values to a new user defined range.

Value

vector of rescaled numerical values.

Author(s)

Emilio Xavier Esposito emilio@exeResearch.com

See Also

Other utilities: ConservationSet, DetermineChainsOfInterest, ExtractFileTimeStamp, ExtractPDBids, FileTimeStamp, HasXWaters, Nearby, ProtHetWatIndices, RetainChainsOfInterest, ReturnPDBfullPath, StandardizeAsparticAcidNames, StandardizeCysteineNames, StandardizeGlutamicAcidNames, StandardizeHistidineNames, StandardizeLysineNames, TimeSpan, UniqueAtomHashes, aaStandardizeNames, getAtomTypeCounts, getResTypeCounts, res2xyz, resAtomType2AtomClass, write.basic.pdb, write.conservedWaters.pdb

Examples

1
2
  RescaleValues(0:10, newMin = 0, newMax = 1)
  # [1] 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0

vanddraabe documentation built on June 8, 2019, 1:03 a.m.