similar to: Checking something.

Displaying 20 results from an estimated 10000 matches similar to: "Checking something."

2024 Feb 05
1
Help
Please see fortunes::fortune(285). cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619
2024 Apr 22
1
x[0]: Can '0' be made an allowed index in R?
See fortunes::fortune(36). cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of Auckland Stats. Dep't. (secretaries) phone: +64-9-373-7599 ext. 89622 Home phone: +64-9-480-4619
2024 May 07
1
Is there some way to customize colours for the View output?
On Tue, 7 May 2024 06:34:50 -0400 Duncan Murdoch <murdoch.duncan at gmail.com> wrote: > On 07/05/2024 6:31 a.m., Iago Gin? V?zquez wrote: > > Thanks Duncan. > > > > I am currently on Windows. Is there any solution for it? > > Switch to Linux or MacOS? Fortune nomination! cheers, Rolf Turner -- Honorary Research Fellow Department of Statistics University of
2024 Feb 27
1
Interactions in regression
I have no real idea what you are trying to do, but if a table is what you want, you can probably get it using the table() function. Or, more likely, the xtabs() function. Using your example from an earlier post (adjusted to make it comprehensible to the human mind): set.seed(1000) time <- factor(rep(c("Pre","Post"),each=200)) treatment <-
2024 Apr 22
1
x[0]: Can '0' be made an allowed index in R?
Heh. Did anyone bring up negative indices yet? -pd > On 22 Apr 2024, at 10:46 , Rolf Turner <rolfturner at posteo.net> wrote: > > > See fortunes::fortune(36). > > cheers, > > Rolf Turner > > -- > Honorary Research Fellow > Department of Statistics > University of Auckland > Stats. Dep't. (secretaries) phone: > +64-9-373-7599
2024 Feb 28
1
Interactions in regression
Hi Rolf, No it is not. I don't know to which question did you want to respond ? I desribed everything in my first email and attached links from SO with pictures included, which are quite understandable. Cheers, Jacek wt., 27 lut 2024 o 02:29 Rolf Turner <rolfturner at posteo.net> napisa?(a): > > I have no real idea what you are trying to do, but if a table is > what you
2024 May 13
1
Is there some way to customize colours for the View output?
Hi all, I've just could test your suggestions on using dataedit... entries now, and indeed they work... partially. See, please, the next screenshot: https://ibb.co/Dkn2pVs dataedituser modifies the red borders dataedittext the yellow text dataeditfg... I do not know, specified to green the output of View(mtcars) does not change from that of the screenshot dataeditbg is the (almost) black
2024 May 10
0
Heads-up: r2u installs (only) to /usr/lib/R/site-library.
I started using r2u (see https://eddelbuettel.github.io/r2u) recently and thought I was having a problem in that I was getting out-of-date versions of packages. I made enquiries of Dirk Eddelbuettel about this, and he enlightened me as to what the problem really was. I was seeing old versions of packages that were stored in a library, different from /usr/lib/R/site-library. I have a personal
2024 Apr 22
2
x[0]: Can '0' be made an allowed index in R?
You could have negative indices. There are two ways to do this. 1) provide a large offset. Offset <- 30 for (i in -29 to 120) { print(df[i+Offset])} 2) use absolute values if all indices are negative. for (i in -200 to -1) {print(df[abs(i)])} Tim -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Peter Dalgaard via R-help Sent: Monday, April 22,
2024 May 13
1
Is there some way to customize colours for the View output?
I just tried it on an old Windows computer. I don't see dataeditfg in the preferences menu; I think it is the internal variable name used for "dataedittext". The row and column names don't appear to be controllable from that menu, they seem (on my machine) to be displayed in the same colour as the background of a dialog box, i.e. some kind of gray. I don't think R
2024 Apr 23
1
x[0]: Can '0' be made an allowed index in R?
Doesn't sound like you got the point. x[-1] normally removes the first element. With 0-based indices, this cannot work. - pd > On 22 Apr 2024, at 17:31 , Ebert,Timothy Aaron <tebert at ufl.edu> wrote: > > You could have negative indices. There are two ways to do this. > 1) provide a large offset. > Offset <- 30 > for (i in -29 to 120) { print(df[i+Offset])} >
2024 Jan 14
1
Fwd: Strange results : bootrstrp CIs
On Sat, 13 Jan 2024 17:59:16 -0500 Duncan Murdoch <murdoch.duncan at gmail.com> wrote: <SNIP> > My guess is that one of the bootstrap samples had a different > selection of countries, so factor(Country) had different levels, and > that would really mess things up. > > You'll need to decide how to handle that: If you are trying to > estimate the coefficient for
2023 Feb 13
2
Removing variables from data frame with a wile card
x[?V2?] would retain columns of x headed by V2. What I need is the opposite??I need a data grime with those columns excluded. Steven from iPhone > On Feb 13, 2023, at 9:33 AM, Rolf Turner <r.turner at auckland.ac.nz> wrote: > > ? >> On Sun, 12 Feb 2023 14:57:36 -0800 >> Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote: >> >> x["V2"]
2023 Aug 27
1
Query on finding root
On Fri, 25 Aug 2023 22:17:05 +0530 ASHLIN VARKEY <ashlinvarkey at gmail.com> wrote: > Sir, Please note that r-help is a mailing list, not a knight! ?? > I want to solve the equation Q(u)=mean, where Q(u) represents the > quantile function. Here my Q(u)=(c*u^lamda1)/((1-u)^lamda2), which is > the quantile function of Davies (Power-pareto) distribution. Hence I > want to
2023 Jun 25
1
depmixs4 standardError() issue
On Tue, 30 May 2023 17:43:31 +0000 Heather Lucas <hlucas2 at lsu.edu> wrote: > Hello, > > I've been enjoying using the "Mixture and Hidden Markov Models in R" > by Visser & Speekenbrink to learn how to apply these analyses to my > own data using depmixS4. > > I currently have a fitted 4-state mixture model with three emissions > variables and one
2024 Apr 23
2
x[0]: Can '0' be made an allowed index in R?
Hello Peter, Unless I too misunderstand your point, negative indices for removal do work with the Oarray package (though -0 doesn't work to remove the 0th element, since -0 == 0 -- perhaps what you meant): > library(Oarray) > v <- Oarray(1:10, offset=0) > v [0,] [1,] [2,] [3,] [4,] [5,] [6,] [7,] [8,] [9,] 1 2 3 4 5 6 7 8 9 10 > dim(v)
2024 Apr 23
1
x[0]: Can '0' be made an allowed index in R?
I think it might be fair to say that the discussion is becoming a tad wider than whether you want your data structures indexed starting from 0 or 1. Programming languages have added functionality to do many things on top of the simple concept of accessing or changing the nth element one at a time. If someone wants to make a parallel way to handle things, it may work for some uses but not others
2015 May 11
0
[R] Building R-3.2.0 from source.
On 11/05/15 16:19, Tom Callaway wrote: > I just landed in Paris, and haven't read backwards in this thread, > but I've done 3.2.0 builds for all current Fedora releases, they're > all in updates-testing (I think the Fedora 22 builds are in updates > stable now). > > The thing that changed is that R doesn't bundle a number of libraries > like it used to. This
2019 Nov 05
1
Puzzled about a new method for "[".
You can try for testing with a column of class errors, from the package 'errors'. The attributes depend on the content in the way Hadley pointed out. I?aki El lun., 4 nov. 2019 23:19, Rolf Turner <r.turner at auckland.ac.nz> escribi?: > On 5/11/19 10:54 AM, Duncan Murdoch wrote: > > On 04/11/2019 4:40 p.m., Pages, Herve wrote: > >> Hi Rolf, > >> >
2023 May 25
3
extract parts of a list before symbol
Suppose I have the following list: test <- list(a=3,b=5,c=11) I'm trying to figure out how to extract the characters to the left of the equal sign (i.e., I want to extract a list of the variable names, a, b and c. I've tried the permutations I know of involving sub - things like sub("\\=.*", "", test), but no matter what I try, sub keeps returning (3, 5, 11).