Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plot.cca with optimize=TRUE and ordipointlabel in pipe #674

Merged
merged 26 commits into from
Aug 1, 2024

Commits on Jul 19, 2024

  1. ordipointlabel can be used in a pipe ... almost

    Arg 'add = TRUE' needs tweaking: points are currently drawn only
    with 'add = FALSE'.
    jarioksa committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    3a23391 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2024

  1. Configuration menu
    Copy the full SHA
    3b8d92b View commit details
    Browse the repository at this point in the history
  2. plot.ordipointlable: message on size differences of new and original

    10% difference in graphic device dimensions  triggers message.
    mar() is not checked, but it also influences plot size.
    jarioksa committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    c60754a View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2024

  1. ordipointlabel: tweak optimization rules

    - try more times: now 64 (was 48) means that on average each
      position is tried 8 times (was 6).
    - a bit more detailed and stronger penalty: now against moving
      towards origin and against corners.
    jarioksa committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    5a74486 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2024

  1. ordipointlabel: do not pass dot args to ordiplot(..., type="n")

    Triggers false warnings if using args for scores(), for instance.
    jarioksa committed Jul 22, 2024
    Configuration menu
    Copy the full SHA
    2c1f98e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3e457e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b1beab View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6988979 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6742b76 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    8598554 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    937466f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b4479b6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    395c3b6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1c28d06 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2374ce0 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2024

  1. Configuration menu
    Copy the full SHA
    5dbb747 View commit details
    Browse the repository at this point in the history
  2. text.ordiplot and hence plot.cca can optimize text locations

    Function text.ordiplot gains arg 'optimize' to call ordipointlabel
    to move text to reduce overlap, but put a point in the exact
    location. Function plot.cca uses text.ordiplot and gains the same
    ability. For instance, plot(cca(dune), spe.par = list(optimize=TRUE)).
    jarioksa committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    d60b652 View commit details
    Browse the repository at this point in the history
  3. scores.default: ignore 'display' if input is a single matrix

    This makes easier to have programmatic use of scores() when
    input parameter can be a pre-processed matrix instead of a complex
    list of matrices. Earlier ordipointabel(x, display=what) failed
    in text.ordiplot() when called from plot.cca().
    jarioksa committed Jul 25, 2024
    Configuration menu
    Copy the full SHA
    da6821f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4ef1752 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3dc7ebb View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    91b7a08 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Configuration menu
    Copy the full SHA
    fcf3299 View commit details
    Browse the repository at this point in the history
  2. plot.cca handles 'optimize = TRUE'

    - global arg (dot argument) 'optimize = T' must be eval'ed to make
      it logical TRUE (will be symbol initially)
    - add point defPointPar if pch not given by user
    - message on arrows looking strange with optimize=TRUE
    jarioksa committed Jul 28, 2024
    Configuration menu
    Copy the full SHA
    a23633e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9210de3 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    965d70b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d0eb85 View commit details
    Browse the repository at this point in the history