Re: [R] help

2021-03-17 Thread hatice gürdil
Thank you so much I thought that ncol is for dimension . ncol= 2, 2x2 matris for 2 dimension ncol= 3, 3x3 matris for 3 dimention I have to work a little more considering what you said. Cheers, Hatice Gürdil. Bill Dunlap , 16 Mar 2021 Sal, 21:09 tarihinde şunu yazdı: > The length of the mean

[R] [R-pkgs] domir: Tools to Support Relative Importance Analysis

2021-03-17 Thread Joseph Luchman
Hello All, I am pleased to announce that {domir} is now available on CRAN. {domir} aims to provide broadly applicable tools for the relative importance analysis of facets of statistical models and machine learning algorithms. The focus for this initial release is on Dominance

[R] [R-pkgs] Splinets

2021-03-17 Thread Krzysztof Podgórski
Splinets -- a package with an efficient B-spline orthogonalization suitable for sparse functional data analysis. See also: Liu, X., Nassar, H., Podgórski, K. (2019) "Splinets – efficient orthonormalization of the B-splines." . Podgórski, K. (2021) "Splinets – splines through the Taylor

[R] [R-pkgs] {miclust} Multiple imputation & cluster analysis

2021-03-17 Thread Jose Barrera
Dear all, Want to perform cluster analysis but you have missing data? Following researchers' suggestion, our R package miclust is now on CRAN: https://CRAN.R-project.org/package=miclust miclust implements a framework to integrate multiple imputed data sets due to missing data in cluster

Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Duncan Murdoch
On 17/03/2021 12:37 p.m., Luigi Marongiu wrote: sorry, I don't get it... Modify your rutledge function to print x, and you'll see the values of high printed. x should be 1:45. Duncan Murdoch On Wed, Mar 17, 2021 at 2:35 PM Duncan Murdoch wrote: On 17/03/2021 6:59 a.m., Luigi Marongiu

Re: [R] library(hms)

2021-03-17 Thread John Fox
Dear Greg, As I explained to you in a private email, and as others have told you, there is no Install.libraries() command, nor is there an install.libraries(0 command, but there is an install.packages() command. So install.packages("hms") should work, on a Mac or on any other

Re: [R] library(hms)

2021-03-17 Thread Gregory Coats via R-help
It appears that install.libraries(“hms”) is unsuccessful, but that install.packages(“hms”) is successful. install.packages("lubridate") downloaded 1.5 MB install.packages("hms") downloaded 95 KB install.packages("data.table") downloaded 2.2 MB Greg > On Mar 17, 2021, at 1:07 PM, Gregory Coats

Re: [R] library(hms)

2021-03-17 Thread Caitlin Gibbons
Your opening quote looks slightly different from the closing quote. This probably explains why you received the error message regarding “unexpected input”. I hope this helps. > On Mar 17, 2021, at 10:08 AM, Gregory Coats via R-help > wrote: > > On my MacBook, I do not have, and do not

Re: [R] [External] unanticipated axis labels

2021-03-17 Thread Richard M. Heiberger
exactly! a warning when running would be very helpful. Thank you. Rich > On Mar 17, 2021, at 02:41, Deepayan Sarkar wrote: > > On Tue, Mar 16, 2021 at 11:35 PM Richard M. Heiberger wrote: >> >> library(lattice) >> library(latticeExtra) >> >> barchart(matrix(c(1:6, 5:6)),

Re: [ESS] ESS failing to load from a directory outside the FHS

2021-03-17 Thread Sparapani, Rodney via ESS-help
In *scratch*, you can type load-path and C-j. Or F1 v load-path return to see its contents. But, it sounds like you might just want a fresh install via MELPA or in your HOME directory -- Rodney Sparapani, Associate Professor of Biostatistics Chair ISBA Section on Biostatistics and

Re: [R] library(hms)

2021-03-17 Thread Caitlin Gibbons
Maybe you used the wrong quotes with the parentheses? > On Mar 17, 2021, at 10:08 AM, Gregory Coats via R-help > wrote: > > On my MacBook, I do not have, and do not know how to install, library(hms). > Greg Coats > >> library(hms) > Error in library(hms) : there is no package called ‘hms’

Re: [R] library(hms)

2021-03-17 Thread Mark Leeds
Hi: install.packages("hms") should work if you have R installed along with an internet connection. When you do above, if you get a message about other packages needing to be installed, then use install.packages("hms", dependencies = TRUE). On Wed, Mar 17, 2021 at 1:08 PM Gregory Coats via

Re: [ESS] ESS failing to load from a directory outside the FHS

2021-03-17 Thread Steve Gutreuter via ESS-help
Thanks Rodney, Sysadmins did the installation, which is when I presume everything was byte-compiled. At any rate, setting ess-etc-directory did not result in ESS loading.  I still get the message "Error: Cannot open load file: No such file or directory, ess.rd.el".  Yet, ess.rd.el is

Re: [R] library(hms)

2021-03-17 Thread Bill Dunlap
install.packages("hms") A 'library' is a directory (aka folder) that contains installed 'packages'. I.e., one installs packages into a library, but one does not install a library. -Bill On Wed, Mar 17, 2021 at 10:08 AM Gregory Coats via R-help wrote: > > On my MacBook, I do not have, and do

[R] library(hms)

2021-03-17 Thread Gregory Coats via R-help
On my MacBook, I do not have, and do not know how to install, library(hms). Greg Coats > library(hms) Error in library(hms) : there is no package called ‘hms’ > Install.libraries(“hms”) Error: unexpected input in "Install.libraries(“" > [[alternative HTML version deleted]]

Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Luigi Marongiu
sorry, I don't get it... On Wed, Mar 17, 2021 at 2:35 PM Duncan Murdoch wrote: > > On 17/03/2021 6:59 a.m., Luigi Marongiu wrote: > > yes, but in `rutledge` I model y as `y = (M / ( 1 + exp(-(x-m)/s)) ) + > > B`, with x being 1:45. Isn't that the equivalent of what I fed Desmos > > with? Tx > >

Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Duncan Murdoch
On 17/03/2021 6:59 a.m., Luigi Marongiu wrote: yes, but in `rutledge` I model y as `y = (M / ( 1 + exp(-(x-m)/s)) ) + B`, with x being 1:45. Isn't that the equivalent of what I fed Desmos with? Tx No, it's not. Duncan Murdoch On Wed, Mar 17, 2021 at 11:31 AM Duncan Murdoch wrote: On

[ESS] ESS failing to load from a directory outside the FHS

2021-03-17 Thread Steve Gutreuter via ESS-help
I have been unable to get ESS to load into Emacs on a CentOS7 compute server on which software is installed in locations that are not part of the FHS. Lines 99 and 100 of my .emacs file contain: (add-to-list 'load-path "/apps/x86_64/emacs/ess-18.10.2/lisp/") (require 'ess-site) A full

Re: [R] Problem with the str_replace function

2021-03-17 Thread phil
Your help is much appreciated. I now understand what my problem was and can move forward. Philip On 2021-03-17 01:19, Hervé Pagès wrote: Hi, stringr::str_replace() treats the 2nd argument ('pattern') as a regular expression and some characters have a special meaning when they are used in a

Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Luigi Marongiu
yes, but in `rutledge` I model y as `y = (M / ( 1 + exp(-(x-m)/s)) ) + B`, with x being 1:45. Isn't that the equivalent of what I fed Desmos with? Tx On Wed, Mar 17, 2021 at 11:31 AM Duncan Murdoch wrote: > > On 17/03/2021 5:41 a.m., Luigi Marongiu wrote: > > Hello, > > I have a dataset from a

Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Duncan Murdoch
On 17/03/2021 5:41 a.m., Luigi Marongiu wrote: Hello, I have a dataset from a polymerase chain reaction. I am using the equation given by Rutledge (https://pubmed.ncbi.nlm.nih.gov/15601990/) but the profile I get in R does not match the data. I ran the same thing in Desmos and instead the

[R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Luigi Marongiu
Hello, I have a dataset from a polymerase chain reaction. I am using the equation given by Rutledge (https://pubmed.ncbi.nlm.nih.gov/15601990/) but the profile I get in R does not match the data. I ran the same thing in Desmos and instead the profile is correct (attached). Why do I not get the

Re: [R] How to plot dates

2021-03-17 Thread PIKAL Petr
Hi install.packages("lubridate") does not work on Mac? Cheers Petr > -Original Message- > From: R-help On Behalf Of Gregory Coats > via R-help > Sent: Wednesday, March 17, 2021 1:11 AM > To: Daniel Nordlund > Cc: r-help mailing list > Subject: Re: [R] How to plot dates > > Dan,

Re: [R] unanticipated axis labels

2021-03-17 Thread Deepayan Sarkar
On Tue, Mar 16, 2021 at 11:35 PM Richard M. Heiberger wrote: > > library(lattice) > library(latticeExtra) > > barchart(matrix(c(1:6, 5:6)), main="unanticipated left axis labels", > ylab="unanticipated inside labels") + > latticeExtra::layer(panel.axis("left", half=FALSE, labels=1:8))