Displaying 1 result from an estimated 1 matches for "corr_dataset".
2009 Jan 02
1
Calculating signicance value
....Category 1
has only item 1somean,same as item1,cat 2 has 2,cat 3 has 3,4,5,6 and cat 4
has 7,8,9,10,11,12.For all teh 7 record sets fetched i haves prepared the
dataset for correlation function.
My correlation function looks like this:----
#Function for correlation
getCorrelationVal<-function(corr_dataset)
{
#Correlation of items and categories
if(corr_dataset=="NULL")
{
print("Correlation cannot be performed on this null dataset.")
}
else
{
BPcor<-cor(x=corr_dataset,y = NULL, use ="complete.obs",method =
c("pearson&quo...