This package contains a function that imports data from a CSV file or uses manually entered data from the format (X,Y,Weight) and plots the appropriate ACC vs LOI graph and LMA graph.
● Data Source:
CranContrib
● Keywords: package,LMA,ACC,LOI,Absolute Concentration Curve,LOI minus ACC,regression coefficient,robustness
● Alias: ACCLMA, ACCLMA-package
●
0 images
calcLMA
(Package: ACCLMA) :
Calculates the appropriate LMA values for each observation
This function receives a matrix containing the X,Y,Weight,FX,FY,LOI columns, after the calcWeights and the reduceSameXs function has been used on it and calculates the LMA column
calcWeights
(Package: ACCLMA) :
Calculates the relative weight of each observation
This function receives a matrix after the averageSameXs function has been used on it and calculates the relative weight of each observation by dividing its weight by the total weights. If at least one observation doesn't have a weight specified the function assumes all the observations are of equal weight
calcFY
(Package: ACCLMA) :
Calculates the appropriate FY value of each observation
Calculates the aggregated mean Y value of each observation by summing the F(Y) value of the previous observation with the Y*Weight of the current observation
plotGraphs
(Package: ACCLMA) :
Plots the ACC vs LOI graph and the LMA graph
This function receives a matrix containing the X,Y,Weight,FX,FY,LOI,LMA columns after the calcWeights and the reduceSameXs function has been used on it and plots the appropriate ACC vs LOI graph and the LMA graph, each in a seperate window
calcLOI
(Package: ACCLMA) :
Calculate the appropriate LOI value for each observation
This function receives a matrix containing the X,Y,Weight,FX,FY columns, after the calcWeights and the reduceSameXs function has been used on it and calculates the LOI column
plotLMA
(Package: ACCLMA) :
Plots the ACC vs LOI and LMA graphs of an imported or manually entered data set
This is the main function of the package and the one that should be used to plot the ACC vs LOI and LMA graphs. If weights are not relevant leave the column blank (null values)