Displaying 2 results from an estimated 2 matches for "beki".
Did you mean:
seki
2011 Feb 12
4
From SPSS Syntax to R code
There is a code from SPSS Syntax
do if sub(ATVK,2,2)="01".
comp strata=1.
else if sub(ATVK,2,2)>="05" and sub(ATVK,2,2)<="27".
comp strata=3.
else if sub(ATVK,4,2)>"20" or sub(ATVK,6,2)>"20".
comp strata=4.
else if sub(ATVK,4,2)>"00".
comp strata=2.
end if.
value labels strata 1 "R 2 "Li" 3 "M" 4
2011 Mar 28
0
imputation
Hello!
I have some problem with package rminer function imputation.
For example, i have data frame
> data.frame(X1,X2,X3)
X1 X2 X3
1 2002 82 88.53316
2 2001 39 68.41058
3 NA NA NA
but when i use imputation, R gives an error
> print(imputation("hotdeck",d, "X3"))
Error in DTS[, YDTS] = 0 : incorrect number of subscripts on matrix
Coud you