Wednesday, November 10, 2010

R: Redundancy Analysis

# lib(s): vegan

# data input is in the form of a MATRIX.

agt.smith <- as.matrix(infile)

# at minimum:

rda(agt.smith)

# how about some result visualization?

# /* END OF REDUNDANCY ANALYSIS */

R: INDSCAL

# lib(s): SensoMineR

# this particular function was written for the Napping data types i.e. products (stimuli) are positioned on a tableclothe by panelists, then their coordinates are used as input for the Indscal model. I haven't the slightest idea in hell what that means, so if you're equally clueless and gonna go forward with this, well... good luck to you. Fortune favours the brave.

library(SensoMineR)

# data input is in the form of a MATRIX.

agt.smith <- as.matrix(infile)

indscal(agt.smith) # this actually generates some output.

# /* END OF INDSCAL */