Re: [R] [EXT] Re: nls() syntax

2020-12-11 Thread Andrew Robinson
Hi Rolf, It might also be worth experimenting to see if y ~ 1 / ( 1 - a[z]/x ) yields the same result. It might be cleaner if x appears only once in the expression. Cheers, Andrew -- Andrew Robinson Director, CEBRA; Professor of Biosecurity School of BioSciences University of Melbourne, VIC

[R] A holiday related question

2020-12-11 Thread Erin Hodgess
Hello everyone! Hope you are all doing well and enjoying whatever December holiday you celebrate. Here is my question, please. Has anyone put together R with a Raspberry Pi or an Arduino to run music and Christmas lights, please? I have seen a little bit about using R with Raspberry Pi, but rea

Re: [R] nls() syntax

2020-12-11 Thread Rolf Turner
On Fri, 11 Dec 2020 19:20:26 -0500 Gabor Grothendieck wrote: > The start= argument should be as follows: > > nls(y ~ x/(x - a[z]),start=list(a = strt),data=xxx) Nya-ha! I, uh, clearly wasn't thinking clearly! (Feel a bit *duh* now!) Thanks Gabor. cheers, Rolf > > On Fri, Dec 11, 2020

Re: [R] nls() syntax

2020-12-11 Thread Duncan Murdoch
On 11/12/2020 6:50 p.m., Rolf Turner wrote: I want to fit a model y = x/(x-a) where the value of a depends on the level of a factor z. I cannot figure out an appropriate syntax for nls(). The "parameter" a (to be estimated) should be a vector of length equal to the number of levels of z. I t

Re: [R] nls() syntax

2020-12-11 Thread Gabor Grothendieck
The start= argument should be as follows: nls(y ~ x/(x - a[z]),start=list(a = strt),data=xxx) On Fri, Dec 11, 2020 at 6:51 PM Rolf Turner wrote: > > > > I want to fit a model y = x/(x-a) where the value of a depends > on the level of a factor z. I cannot figure out an appropriate > syntax for

[R] nls() syntax

2020-12-11 Thread Rolf Turner
I want to fit a model y = x/(x-a) where the value of a depends on the level of a factor z. I cannot figure out an appropriate syntax for nls(). The "parameter" a (to be estimated) should be a vector of length equal to the number of levels of z. I tried: strt <- rep(3,length(levels(z)) names(

Re: [R] Help with connection issue for R (just joined, leading R for our agency)

2020-12-11 Thread John C Frain
On Fri, 11 Dec 2020 at 11:25, Jeremie Juste wrote: snip > > That said, I take the opportunity Martin gave me to advertise that both > Emacs and Emacs Speaks Statistics works on Windows as well. The entry > cost might seem > expensive in the beginning but I assure you it will pay very quickly.

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-12 01:14 +0500, Anas Jamshed wrote: > On Sat, Dec 12, 2020 at 1:12 AM Rasmus Liland wrote: > > > > Anas Jamshed, > > > > I do not need to explain why I am tired > > at all. Not at all. > > but plz try to help me Once upon a midnight dreary, while I pondered, weak and weary, Over many

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 22:19 +0500, Anas Jamshed wrote: > On Fri, Dec 11, 2020 at 10:17 PM Rasmus Liland wrote: > > > > Sorry, I think I am too tired atm. I > > took this pneumonia vaccine, and it > > really banged me up you know ... > > > > Maybe someone else can row this ship > > ashore again ... > > wh

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 22:09 +0500, Anas Jamshed wrote: > On Fri, Dec 11, 2020 at 9:51 PM Rasmus Liland wrote: > > > > Say, how do I create fit3, eset, design, > > etc. ... > > > > R > > library(oligo) > if (!requireNamespace("BiocManager", quietly = TRUE)) > install.packages("BiocManager") > BiocManager::

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 21:04 +0500, Anas Jamshed wrote: > On Fri, Dec 11, 2020 at 9:03 PM Anas Jamshed wrote: > > On Fri, Dec 11, 2020 at 8:37 PM Rasmus Liland wrote: > > > > > > I think that's too many unspecific lines > > > and too large files directly here on > > > email (24MiB!). > > > > > > Would you p

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 20:14 +0500, Anas Jamshed wrote: > On Fri, Dec 11, 2020 at 7:49 PM Rasmus Liland wrote: > > > On 2020-12-11 19:16 +0500, Anas Jamshed wrote: > > > On Fri, Dec 11, 2020 at 6:37 PM Rasmus Liland wrote: > > > > On 2020-12-11 18:08 +0500, Anas Jamshed wrote: > > > > > > > > > > > > > An

[R] Use clusters.stats function from a hierarchical clustering in R

2020-12-11 Thread Jovani T. de Souza
I would like a great help from you. I used the cluster.stats function that is part of the `fpc` package to compare the similarity of two custer solutions using a variety of validation criteria, as you can see in the code. However, I have two questions: 1 ° Is it possible to know which is the most

[R] dglm()

2020-12-11 Thread K Y via R-help
I used the double glm dglm() in R with "family=tweedie(var.power=p,link.power=0)", and need Chi-squared tests for the nested models of excluding each variable. In order to do those tests, I need the final working weights. I was using the codes below to get the working weights from the deviance

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 19:16 +0500, Anas Jamshed wrote: > On Fri, Dec 11, 2020 at 6:37 PM Rasmus Liland wrote: > > On 2020-12-11 18:08 +0500, Anas Jamshed wrote: > > > > > > > Anas Jamshed, > > > > I found this > > > > https://support.bioconductor.org/p/130817/ > > > > maybe it helps ... > > still have the

Re: [R] (no subject)

2020-12-11 Thread Rasmus Liland
On 2020-12-11 18:08 +0500, Anas Jamshed wrote: > when I tried to install oligo package by > > if (!requireNamespace("BiocManager", quietly = TRUE)) > > install.packages("BiocManager") > > BiocManager::install("oligo > > It gives me the following eroor: > > Warning messages: > 1: In file.co

[R] (no subject)

2020-12-11 Thread Anas Jamshed
when I tried to install oligo package by if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager") BiocManager::install("oligo It gives me the following eroor: Warning messages: 1: In file.copy(savedcopy, lib, recursive = TRUE) : problem copying C:\Users\USER\

Re: [R] Help with connection issue for R (just joined, leading R for our agency)

2020-12-11 Thread Jeremie Juste
Hello Alejandra, || On Tuesday, 8 Dec 2020 at 10:48, Alejandra Barrio Gorski wrote: Welcome to the mailing list. > Greetings, I am new to this list. I joined because I am pioneering the use > of R for the agency I work for. I essentially work alone and would like to > reach out for help on an