search for: classe81

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

2008 Aug 07
2
Problems using hetcor (polycor)
...std.err = std.err) : the table has fewer than 2 rows Use tab delimited data at the end of the post. Copy in Texteditor and save as TestPart.txt Then use the following code library(methods) setClass("of") setAs("character", "of", function(from) as.ordered(from)) Classe81<-cclasses <- c(rep("factor", 64), rep("numeric",6), rep ("of", 12)) TestPart<-read.table("TestPart.txt", header=TRUE,row.names=1, na.strings="NA" ,colClasses = Classe81) str(TestPart) library(polycor) TestPart.hetcor<-hetcor(TestPar...