It is quite obvious why you get the error message; check your data:
Error in wynik[, i] <- dodawanie(wzorzec, wzorzec1) :
number of items to replace is not a multiple of replacement length
No suitable frames for recover()
>
> i
[1] 1
> dodawanie(wzorzec, wzorzec1)
[1] 3 5 4 2 6 3
> str(wynik)
Hello,
I want call my function (use my database) and write every result in matrix
"wynik" but I always get an error: Error in wynik[, i] <- dodawanie(wzorzec,
wzorzec1) :
number of items to replace is not a multiple of replacement length
I'll be very happy if sb help me
dodawanie<- function
2 matches
Mail list logo