| formatResults {GCDkit} | R Documentation | 
Function to reshape matrix to match the rownames of the numeric matrix WR.
formatResults(x)
| x | matrix or data frame | 
This auxiliary function is typically used to reshape the matrix/data frame 
results produced by many functions of GCDkit. The resulting matrix/data 
frame matches the sample names/order in the numeric matrix WR and data frame
labels and thus is ready to be appended by the functionaddResults.
A reshaped data frame/matrix.
Vojtech Janousek, vojtech.janousek@geology.cz
    sampleDataset("sazava")
    
    CIPW(WR)
    results<-results[c(1:5,7),]
    print(results)
    
    formatResults(results)