search for: covpap

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

Did you mean: covmap
2004 Mar 25
3
subsetting based on vector
...to write a small program which reads in a data set, and selects observations from certain years before the analysis. I have a problem including the selection criteria in the header of the program. Here is the problem; dataFIT<-function(MODEL, MARGINS, yearConsidered){ library(foreign CovPaper<-read.spss("C:/Data/data.sav") NewData <- list(CovPaper$"YEAR"[CovPaper$"YEAR" == yearConsidered], CovPaper$"YEAR"[CovPaper$"SEX" == yearConsidered], #### and so on ##### #fit model to d...