Error in if (ts.star > ts) p <- p + 1 : missing value where TRUE/FALSE needed
I'm new in R and I'm interesting in R program
Please help me to solve this issue.
I compare fish length from 5 different countries.
I used kernel density estimate to analyze the data throw sm and KernSmooth packages using the following script: