search for: type2_simul3_2012

Displaying 2 results from an estimated 2 matches for "type2_simul3_2012".

2012 Jan 26
1
Error in ifelse(append, "a", "w") : , (list) object cannot be coerced to type 'logical'
..., the very same script runs perfectly well under Ubuntu. My understanding is that this type of error is associated to writing data to disk. So the problem is likely caused by the following statements, which are inside a loop: P.vector <- c(P1, P2, P3) write (P.vector, file = "Type2_simul3_2012.txt", sep ="\t ", append =T). I have read that including "\" in such statements can be problematic, because it is a scape character in R, but trying sep=" " instead of "\t" did not solve the problem. Any help will be much appreciated. Thanks...
2012 Jan 18
4
R-Help
I am trying to create a frequency distribution and I am a bit confused. Here are the commands I have entered: > data <- read.csv(file="40609_sortedfinal.csv",head=TRUE,sep=",") > NumberOfActionsByStatus = data$STATUS > NumberOfActionsByUser = data$ETS_LOGIN > NumberOfBidOffer = data$BID_OFFER > NumberOfActionsByUser.freq = table(NumberOfActionsByUser) >