search for: pijus

Displaying 7 results from an estimated 7 matches for "pijus".

Did you mean: picus
2002 Sep 16
2
how to fit just a fixed effects model?
Dear all, How can one fit just a fixed effects model in R? lme() seems to require a random component, whereas I am just looking for something like STATA's "xtreg, fe" function. Thanks, Pijus ---- W: 212-588-7897 F: 212-446-1955 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not t...
2003 Feb 10
3
non-SQL sqlQuery error
...OUP BY ColumnName2" construct, and from trial and error, it seems that this is the cause of the failure (at least removing it makes the error go away). I am using R1.6.2 and the RODBC package from http://cran.r-project.org/bin/windows/contrib/PACKAGES. Can anyone offer any clues? Thanks, Pijus
2007 Aug 15
1
getting lapply() to work for a new class
...), test.as.vector) obj <- new("test", test=list(1, 2, 3)) # this produces "Error in as.vector(x, "list") : cannot coerce to vector" on R 2.4.1 lapply(obj, print) # these work lapply(as.list(obj), print) lapply(as.vector(obj, "list"), print) Thank you, Pijus
2002 Aug 28
1
handling dates in R
...t way to represent this in a ts object? Also, other languages I have worked with have libraries to do things such as date comparison, to derive the day of the week from a date, etc. Does R have such a facility? Or should I farm a task like that to an external tool, such as Python or Perl? Thanks! Pijus -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat...
2002 Dec 12
1
improving ts object
...t would be the most efficient way to construct such an object? I have tried to make one on my own following the directions of class design from "S Programming" (2000) as a combination of POSIXt vector and a data.frame, but I can't get it right. Any tips much appreciated ... Cheers, Pijus
2003 Jan 03
1
Interfacing R and C++ under Windows
...dio's math.h includes templates which are only valid in C++ Basically, he feels that there are some clear conflicts between what R expects of C++ and what Visual C++ does. So, while the simpler .C technique can be used, the .Call approach does not work. What are we missing here? Thank you! Pijus
2002 Sep 10
3
print
Hi all, Suppose I have a vector Fruits <- c('Apple','Orange','Pear','Banana','Mango') I want to print the statement "The fruits in the basket are: Apple, Orange, Pear, Banana, Mango" If I do: print(paste('The fruits in the basket are:',Fruits)) The output is: [1] "The fruits in the basket are: Apple" "The fruits in