Re: [R] problem with plotting clustered data with convex hull using ggfortify

2021-10-24 Thread Karl Schilling
gfortify") [1] ‘0.4.12’ > > sessionInfo() R version 4.1.1 (2021-08-10) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 20.04.3 LTS [...] One problem was fixed, another showed up. You should contact the package maintainer. Hope this helps, Rui Barradas Às 21:57 de 24/10

[R] problem with plotting clustered data with convex hull using ggfortify

2021-10-24 Thread Karl Schilling
command, "frame.type = c("convex", "norm", "t"). Whereas ""norm" and "t" give confidence ellipses as expected, "convex" results in a straight line as mentioned above. Any help would be appreciated. Best -- Karl Schillin

Re: [R] Some code to run Hutcheson t-test using R

2020-09-11 Thread Karl Schilling
Dear Luigi: no, µ1µ2 is not "missing" First, it should actually be "µ1 - µ2". And as your usual null-hypothesis when comparing h1 and h2 is that they are not different (i.e. µ1 = µ2), the latter term adds up to 0 and may be omitt

Re: [R] How to run Hutcheson t-test on R?

2020-09-08 Thread Karl Schilling
[1] https://www.dataanalytics.org.uk/comparing-diversity/ Hope this helps, Rui Barradas Às 12:35 de 08/09/20, Karl Schilling escreveu: Could it be that the test you are looking for is implemented in the vegan package (function diversity(... index = "shannon" ...), and/or

Re: [R] How to run Hutcheson t-test on R?

2020-09-08 Thread Karl Schilling
Could it be that the test you are looking for is implemented in the vegan package (function diversity(... index = "shannon" ...), and/or the BiodiversityR package, function "diversityresult (..., index = "Shannon",...) best, Karl Schilling ___

Re: [R] Unable to install Sequin R

2020-05-11 Thread Karl Schilling
Dear Harshita, I just tried to install seqinr on my win10 machine (R4.0) and had no problem. In your mail, you still had a typo: you wrote seqinr with an "u" - maybe that is the problem Best -- Karl Schilling __ R-help@r-project.org ma

[R] SOLVED: inadverted reordering of a df column when it is copied to another df

2017-03-17 Thread Karl Schilling
al of anecdote is not data. ~ Roger Brinner > The combination of some data and an aching desire for an answer does > not ensure that a reasonable answer can be extracted from a given body > of data. ~ John Tukey > > > 2017-03-17 16:05 GMT+01:00 Karl Schilling : >> Dear all: &

[R] inadverted reordering of a df column when it is copied to another df

2017-03-17 Thread Karl Schilling
ree approaches: A$x <- B$x x <- B$x (here, x is still in the correct order) B$x <- x : now x is reordered B <- cbind(A, B$x) I am working with Windows7Pro/64bit, R 3.3.3, and RStudio 0.99.903. Any help would be appreciated. Best regards

[R] Strange result when subsetting a data frame based on a character variable

2015-11-17 Thread Karl Schilling
r this for me rather strange behavior might be. Thank you so much for your suggestions. Karl Schilling # Exemplary code for reproducing the above described problem: options(stringsAsFactors = F) # set up some data frame value <- c(1:6) group <- rep(c("2", "9&quo

Re: [R] dplyr and function length() and some apologies

2015-08-04 Thread Karl Schilling
t;any (preexisting) data.frame once dplyr is LOADED (require(dplyr). It is >this silent, sort of "backward acting" effect that disturbs me. You're going to need to provide some evidence for that charge: dplyr does not affect the behaviour of data.frames (only

Re: [R] dplyr and function length()

2015-08-04 Thread Karl Schilling
Dear Jeff: No, the effect I described has nothing to do wit USING dplyr. It occurs with any (preexisting) data.frame once dplyr is LOADED (require(dplyr). It is this silent, sort of "backward acting" effect that disturbs me. Best, Karl Schilling On 04.08.2015 12:20, Jeff Newmi

[R] dplyr and function length()

2015-08-04 Thread Karl Schilling
. However, what puzzles (and somewhat disturbs) me is that loading of dplyr affects how length() works, without there being a warning or masking message upon loading it. Any clarification or comment would be welcome. Thank you so much, Karl -- Karl Schilling

[R] problem with using seq() or rep() inside a for loop

2015-07-07 Thread Karl Schilling
of seq(...) to extract the desired values from "diagonal", I have the very same problem - it works outside a for loop, but fails inside. I am using R 3.2.1. (x64) under Win 7 Professional on a 64 bit machine. Any suggestion would be appreciated. Thank you so much. Karl -- Karl Schill