Hi,
I have the following data in a csv file
49893878, 54350306, 68914033, 46888379, 75506404,
54164263, 62846960, 78304638, 63721932, 70269568, 60440103, 79784327,
65918962, 76581629, 72016677, 47225594, 93944513, 65793666, 82709931,
87852261, 75876270, 88715213, 65496028, 80160380, 66089429, 1
Sorry, wasn't clear .. .Rui's code as worked
--
View this message in context:
http://r.789695.n4.nabble.com/Replace-a-variable-by-its-value-tp4630734p4630748.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing
I have a dataset called "raw-data" . I am trying to use the following code -
col_name<-names(raw_data)
for (i in 1:(length(names(raw_data))-2))
{
tbl=table(raw_data$Pay.Late.Dummy, raw_data$col_name[i])
chisqtest<-chisq.test(tbl)
}
Say the 1st column of my raw_data is Column1. The idea i
Thanks Rui...I need chisqtest inside loop , I've given only example code
here.
--
View this message in context:
http://r.789695.n4.nabble.com/Replace-a-variable-by-its-value-tp4630734p4630737.html
Sent from the R help mailing list archive at Nabble.com.
__
4 matches
Mail list logo