Displaying 20 results from an estimated 1000 matches similar to: "comparing tables from replicated data"
2005 Oct 16
1
measurement error model - "simple" linear regression
Dear friends, I found the thread on this subject this summer but
wonder whether it has been taken any further. I have an important
medical problem where X is computed from a three independent and
complicated measurements (exchangeable sodium and potassium and total
body water - i.e. X = (Nae+Ke)/TBW ) and Y is serum sodium
concentration (all data in Edelman, JCI 1958). I have the individual
2008 Jul 23
1
R2WinBUGS problem
Dear friends - I'm on winXP, R 2.71 - I have with some help dveloped
this multivariate normal model, which gives very plausible results in
WinBUGS even without any
initial values specified. However, when I then try to run the same model
via the bugs function in R2WinBUGS with inits specified as inits=NULL
the program stops in a dead end. So I have tried to make inits for the
bugs function
2009 Jan 06
1
history: recording
Hi, I'm using windows xp and R 2.8.0 - I wonder what is the command to
put in a script that has the same effect as when in a plot you choose
menu "History" and "Recording".
Best wishes
Troels
--
Troels Ring - -
Department of nephrology - -
Aalborg Hospital 9100 Aalborg, Denmark - -
+45 99326629 - -
tring at gvdnet.dk
2008 Jul 06
1
lattice smooth problem?
Dear friends - I'm on windows, R 2.7.0
I try again asking if anyone can explain why a single pig of 16 makes so
wild swings.
Warnings are issued, and they are
1: pseudoinverse used at 482.1
2: neighborhood radius 242.1
3: reciprocal condition number 0
4: at 360
5: radius 14400
6: all data on boundary of neighborhood. make span bigger
7: There are other near singularities as well. 14400
8:
2008 Sep 01
1
ordered factor and table
dear friends - I have an ordered factor, ID, in a data.frame, labs, and
make a table,
aa <- with(labs,table(val >150,ID)) - and now the order in the table is
according to the alphabetic order in ID, and not as I want it. I have
tried adding
[order(unique(labs$ID)] but it doesn't help.
I have R 2.7.1 on WinXP.
Best wishes
Troels
--
Troels Ring - -
Department of nephrology - -
2007 Dec 17
2
regression towards the mean, AS paper November 2007
Dear friends, regression towards the mean is interesting in medical
circles, and a very recent paper (The American Statistician November
2007;61:302-307 by Krause and Pinheiro) treats it at length. An initial
example specifies (p 303):
"Consider the following example: we draw 100 samples from a bivariate
Normal distribution with X0~N(0,1), X1~N(0,1) and cov(X0,X1)=0.7, We
then calculate
2008 Apr 12
1
R and Excel disagreement - Goal Seek versus uniroot
Dear friends - occurring in Windows R2.6.2
I am modeling physical chemistry in collaboration with a friend who has
preferred working in Excel. I used uniroot, and find a solution to a two
buffer problem in acid-base chemistry which I believe is physiologically
sensible. Using "goal seek" in Excel my friend found another plausible
root, quite close to zero, and a plot of the function
2023 Feb 22
1
Auth-worker, unknown scheme ARGON2ID
> On 22/02/2023 07:48 EET James Brown <jlbrown at bordo.com.au> wrote:
>
>
> > On 22 Feb 2023, at 4:14 pm, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> >
> >
> > > I?ve spent ages on this and am getting really desperate! :-(
> > >
> > > CPPFLAGS=-I/opt/homebrew/Cellar/openssl at 3/3.0.8/include
2023 Feb 22
1
Auth-worker, unknown scheme ARGON2ID
> On 22 Feb 2023, at 5:33 pm, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
>>
>> Thanks Aki, that was helpful. When I add that I get:
>>
>> checking for LIBSODIUM... no
>> configure: error: Can't build with libsodium: not found
>>
>> So I have to tell it where libsodium is.
>>
>> Tried:
>>
>>
2023 Feb 22
1
Auth-worker, unknown scheme ARGON2ID
> On 22/02/2023 08:41 EET James Brown <jlbrown at bordo.com.au> wrote:
>
>
> > On 22 Feb 2023, at 5:33 pm, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
> > >
> > > Thanks Aki, that was helpful. When I add that I get:
> > >
> > > checking for LIBSODIUM... no
> > > configure: error: Can't build with libsodium: not
2010 Jan 12
1
Unable to map the group
Hi All,
I am using Samba 3.2.11 on sles 10. I have create a Unix group 'grp1' and
mapped it to a ntgroup "Group One". Unix group 'grp1' has one user i.e
'usr1'. 'net groupmap' command show the mapping with correct SID and gid
value. Please, have a look here.
# cat /etc/group | grep grp1
grp1:!:12613:usr1,raj1,raj2
#
# net groupmap list
Group One
2010 Jun 29
1
Performance enhancement for ave
library(plyr)
n<-100000
grp1<-sample(1:750, n, replace=T)
grp2<-sample(1:750, n, replace=T)
d<-data.frame(x=rnorm(n), y=rnorm(n), grp1=grp1, grp2=grp2)
system.time({
d$avx1 <- ave(d$x, list(d$grp1, d$grp2))
d$avy1 <- ave(d$y, list(d$grp1, d$grp2))
})
# user system elapsed
# 39.300 0.279 40.809
system.time({
d$avx2 <- ave(d$x, interaction(d$grp1, d$grp2, drop =
2007 Jun 26
1
A really simple data manipulation example
In response to those who asked for a better explanation of what the
Vilno software does, here's a simple example that gives some idea of
what it does.
LABRESULTS is a dataset with multiple rows per patient , with lab
sodium measurements. It has columns: PATIENT_ID, VISIT_NUM, and
SODIUM.
DEMO is a dataset with one row per patient, with demographic data.
It has columns: PATIENT_ID, GENDER.
2018 Mar 06
0
Capturing warning within user-defined function
1. I did not attempt to sort through your voluminous code. But I suspect
you are trying to reinvent wheels.
2. I don't understand this:
"I've failed to find a solution after much searching of various R related
forums."
A web search on "error handling in R" **immediately** brought up ?tryCatch,
which I think is what you want.
If not, you should probably explain why it
2009 Dec 10
1
Help with beanplot fromatting
Dear Helpful R Users,
I am graphing some data using the beanplot, but I am having trouble
getting the output I desire. I have five tanks (A-E) and 2 groups for
each tank grp1 or grp2, except tank C where there is only grp1. (I only
changed the grouprep to "C grp1" for the example) When I plot them, I
would like A B C(only grp1 - half of the bean plot) then D and E (as
full beans).
2018 Mar 06
0
Capturing warning within user-defined function
You can capture warnings by using withCallingHandlers. Here is an example,
its help file has more information.
dataList <- list(
A = data.frame(y=c(TRUE,TRUE,TRUE,FALSE,FALSE), x=1:5),
B = data.frame(y=c(TRUE,TRUE,FALSE,TRUE,FALSE), x=1:5),
C = data.frame(y=c(FALSE,FALSE,TRUE,TRUE,TRUE), x=1:5))
withWarnings <- function(expr) {
.warnings <- NULL # warning handler will
2018 Mar 06
1
Capturing warning within user-defined function
tryCatch() is good for catching errors but not so good for warnings, as
it does not let you resume evaluating the expression that emitted
the warning. withCallingHandlers(), with its companion invokeRestart(),
lets you collect the warnings while letting the evaluation run to
completion.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Mar 6, 2018 at 2:45 PM, Bert Gunter <bgunter.4567 at
1999 Jun 07
1
Re:
move or copy the directories mass, nnet and class to the library directory
- then execute link.html.help()
Now execute library(MASS) and data(petrol)
Should work.
"Troels Ring"
2018 Dec 05
1
Restricting sending mail to domain or group
On Wed, 5 Dec 2018, Alexander Dalloz wrote:
>> I have a group alias (all at company.com).
>> (1) Only company.com accounts should be able to send an email to everybody
>> in that company via all at company.com.
>> (2) - rather optional: refine the restrictions, e.g. two groups,
>> grp1 at company.com and grp2 at company.com. Grp1 members should be able to send
2023 Feb 22
1
Auth-worker, unknown scheme ARGON2ID
> On 22/02/2023 09:10 EET James Brown <jlbrown at bordo.com.au> wrote:
>
>
> On 22 Feb 2023, at 5:53 pm, Aki Tuomi <aki.tuomi at open-xchange.com> wrote:
>
> >
> >
> > > > >
> > > > > % locate libsodium
> > > > > /opt/homebrew/Cellar/libsodium
> > > > > /opt/homebrew/Cellar/libsodium/1.0.18_1