search for: ytag

Displaying 1 result from an estimated 1 matches for "ytag".

Did you mean: tag
2010 Oct 25
1
lowess() won't handle NAs
...39;em, so that the smoothing looks like a mess in the plot .... I attach my scripts, a function that would automatize the process explained above #d = a data.frame with some Na #c1,c2 =column indexes regr.plot<-function(d,c1,c2, method=c("spearman","pearson"),titolo,xtag,ytag,livello){ test<-cor.test(d[,c2],d[,c1],method="spearman") pval<-round(test$p.val,4) corr<-round(test$estimate,4) I<-predict(lm(d[,c1]~d[,c2]),newdata=d,interval="confidence",level=livello) plot(d[,c2],d[,c1],xlab=as.character(xtag),ylab=as.character(ytag)) title(as....