Displaying 20 results from an estimated 2000 matches similar to: "history: recording"
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
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"
1999 Jun 27
2
paste and path ?
Dear friends. I have trobpe with path.
Below I have tried to paste a path and file name but it will not work
> path <- "D:/rw0641/own/own/procedures/GFR_TIME"
> path
[1] "D:/rw0641/own/own/procedures/GFR_TIME"
> path1 <- paste(path,"gfr.txt",sep="/")
> path1
[1] "D:/rw0641/own/own/procedures/GFR_TIME/gfr.txt"
-- this is good
2003 May 04
1
array question on indexing
Dear friends,
I have struggled to do what is likely rather simple but cannot get it working.
I have a dataframe with 428 obs. of 5 variables on 26 patients. Two
variables are responses, one an index of patients (1:26), one a
period-indicator :1 :max 3, and one total time from min 1 to max 36 weeks
(max 21 entries). A complete set would be 26*21=546 long but here are only
428 entries.
Now,
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
2010 Dec 16
4
editor for MacOS
Dear friends - I'm using Tinn-R in Windows and find it OK. My son is
running MacOS and is just starting using R and I know nothing about
MacOS and R but we seem to have difficulties in finding something
similar to Tinn for MaC. What are your suggestions?
Thanks a lot!
Troels Ring, MD
Aalborg, Denmark
2017 Aug 14
0
weight in lm
> On 14 Aug 2017, at 10:13 , Troels Ring <tring at gvdnet.dk> wrote:
>
> Dear friends - I hope you will accept a naive question on lm: R version 3.4.1, Windows 10
>
> I have 204 "baskets" of three types corresponding to factor F, each of size from 2 to 33 containing measurements, and need to know if the standard deviation on the measurements in each basket,sdd, is
2009 Aug 25
0
comparing tables from replicated data
Dear friends, I'm examining the characteristics of two models that both
fit the sodium concentration in 16 pigs quite well under treatment or
control conditions. The more complicated model is by anova better than
the less complicated model. To take it further I have generated
replicate data using the independent variables and parameter estimates
under the two models. A clinically
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
2017 Sep 27
2
disturbed legend in ggplot2
Dear friends - below is a subset of a much larger material showing two
ways of generating two "lines". The intention is to have the colour
reflect a variable, pH, but the legend is disturbed. The little part
marked "3" above the colour scale is unwelcome. Why did it appear? How
could I avoid it?
I'm on Windows 7, R version 3.4.1 (2017-06-30) -- "Single
2017 Aug 14
3
weight in lm
Dear friends - I hope you will accept a naive question on lm: R version
3.4.1, Windows 10
I have 204 "baskets" of three types corresponding to factor F, each of
size from 2 to 33 containing measurements, and need to know if the
standard deviation on the measurements in each basket,sdd, is different
across types, F. Plotting the observed sdd versus the sizes from 2 to
33, called
2012 May 10
1
fda problems - version correct?
Dear friends - I am trying to understand fda and working with the 2009
book from Springer. I run the scripts directly from a new installed fda
library and include sessionInfo() below. This is from the script
fdarm-ch09.R - I seem to have got not fda_2.2.8 but 2.2.7 - is that
the problem? Where do I get .8 as I just reinstalled? Best wishes
Troels Ring, Nephrology
Aalborg, Denmark
>
2017 Aug 14
2
weight in lm
On 2017-08-14 5:53 AM, peter dalgaard wrote:
>> On 14 Aug 2017, at 10:13 , Troels Ring <tring at gvdnet.dk> wrote:
>>
>> Dear friends - I hope you will accept a naive question on lm: R version 3.4.1, Windows 10
>>
>> I have 204 "baskets" of three types corresponding to factor F, each of size from 2 to 33 containing measurements, and need to know if the
2017 Oct 27
1
genetics: backward haplotype transmission association algorithm
Dear friends - a couple of papers in PNAS (lastly:framework for making
better predictions by directly estimating variables' predictivity, Lo et
al PNAS 2016; 113:14277-14282) have focused interest on mapping complex
traits to multiple loci spread all over the genome. I have been around
on the relevant taskview(s) I hope but fail to see that the backward
haplotype transmission association
2002 Apr 26
1
truncated observed
Dear friends.
I believe this problem has been discussed in various forms now and then, so
I hope you will forgive me I ask how to do a truncated model like this,
where the observed y is recorded as 10 whenever it is higher or equal to
that value
x <- rnorm(1000)
y <- 10*x + rnorm(1000)
y[which(y>10)] <- 10
and recover the "true" model ?
Best wishes
Troels
Troels Ring,
2003 Sep 27
2
CI on median
Dear friends, I'm probably wrong but is there anything better than
bootstrap to get a confidence interval of the median from a population with
unspecified distribution ?
Best wishes
Troels Ring, Aalborg, Denmark
2000 Apr 24
2
paste ?
Dear friends. I've made a very simple procedure to make Bland-Altman plots
and it works OK except for the inability to take a variate as argument in
annotation. I'm sure it is a very simple error, so if you have 5 seconds
please tell me.
Best wishes
Troels
bland <- function (x) #accepts two columns
{
mn <- 0.5*(x[,1]+x[,2])
diff <- x[,1]-x[,2]
1999 Jan 12
2
PAR(las)
Dear friends. In the documentation for PAR it is specified that "las" allowing turning axis labels away from default=parallel to axis is not implemented. I need to make graphs with horizontal Y axis labels - how to ?
I'm using win98.
Thank you in advance.
Sincerely yours
Troels Ring, MD
Department of Nephrology
Aalborg Hospital
Aalborg Denmark