search for: datafit

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

Did you mean: databit
2004 Mar 25
3
subsetting based on vector
Dear R users; I am trying 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" == y...