Displaying 1 result from an estimated 1 matches for "bpcor".
Did you mean:
pcor
2009 Jan 02
1
Calculating signicance value
...nction 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"))
return(list(matrix=BPcor)
}
}
Here corr_dataset is the data set i pass,as i have shown above.now how do i
find teh significance level for each correlation.valid N-size however i can
find....