Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Make sure to add all dependencies in your code block. For example, you mention the permute package, so you should at least have library(permute). Furthermore, when I run your code I get the error: Error in Within(type = "none") : could not find function "Within". What package are you using for Within? Commented May 24, 2025 at 14:51
  • 1
    sorry, it's been addressed Commented May 27, 2025 at 23:57