search for: 192701

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

Did you mean: 12701
2011 Oct 22
3
problem with as.Date
Dear all, I would like to convert the first column of a dataframe to a date (original format: year (4 digits) and month (last 2 digits)) >str(dat_FF) 'data.frame': 1022 obs. of 4 variables: $ date : int 192607 192608 192609 192610 192611 192612 192701 192702 192703 192704 ... $ Rm.Rf: num 2.69 2.52 0 -3.06 2.42 2.66 0 4.29 0.51 0.57 ... $ SMB : num -2.49 -1.25 -1.38 -0.2 -0.34 -0.07 -0.11 0.35 -1.87 0.44 ... $ HML : num -2.91 4.25 0.22 0.71 -0.4 -0.11 4.92 3.17 -2.92 1.33 ... But >dat_FF$date <- as.Date(as.character(dat_FF$date),...
2009 Jun 23
1
Error in .subset(x, j) : only 0's may be mixed with negative subscripts
...NA 13 0 0 0 0 18804 0 0 4 NA > If I reduce the data frame datastep4 by removing a few records where the variable G102 is not 1, and removing the column named "G102" (which is column 84), I end up with a smaller set called datastep5 with 192701 rows and 94 columns > datastep5 <- datastep4[datastep4$G102 != 1,-84] > > dim(datastep5) [1] 192701 94 > names(datastep5)[1:5] [1] "RESPONDED" "VAR_30" "VAR_31" "VAR_32" "VAR_33" > table(datastep5$RESPONDED)...