I have passed the CSV file as matrix since as. data. frame not working ?
rror in matrix(0, n, 1) : non-numeric matrix extent
In addition: Warning message:
In if (r <= c) n <- floor((N/a)) + 1 else n <- floor(N/a) :
** the condition has length > 1 and only the first element will be us*
df<- as.matrix(data1, row.names = NULL, optional = FALSE)
S.SY(df,10)
and when use as.matrix
the results are "
Warning messages:
1: In if (r <= c) n <- floor((N/a)) + 1 else n <- floor(N/a) :
the condition has length > 1 and only the first element will be used
[6,] 52
[7,] 62
[8,] 72
[9,] 82
[10,] 92
[11,] 102
[12,] 112
[13,] 122
[14,] 132