[R] simulation\bootstrap of list factors

2013-04-17 Thread Berg, Tobias van den
Dear R experts, I am trying to simulate a list containing data matrices. Unfortunately, I don't manage to get it to work. A small example: n=5 nbootstrap=2 subsets-list() for (i in 1:n){ subsets[[i]] - rnorm(5, mean=80, sd=1) for (j in 1:nbootstrap){ test-list()

[R] reverse sweep operator

2013-04-02 Thread Berg, Tobias van den
Dear R-users, For obtaining a weighted correlation matrix with (some) missing data I use the sweep operator (swp function in the ggm-package) to find the maximum likelihood estimates of the standardized slopes and error variances. In the end I would like to use a reverse sweep operator but

[R] changing y-axis intervals in a boxplot

2013-03-29 Thread Berg, Tobias van den
Dear R-users, I'm a bit of a rooky in R and do not know how to change the y-axis intervals of a boxplot. The y-axis in my boxplot ranges from 0 to 100 which is fine. The problem is the interval level in between. Now it increases with steps of 20 but I'd like to have it changed by steps of 5.

Re: [R] changing y-axis intervals in a boxplot

2013-03-29 Thread Berg, Tobias van den
den CC: 'r-help@r-project.org' Onderwerp: Re: [R] changing y-axis intervals in a boxplot Hello, ?par (particularly the 'yaxt' argument) ?axis ('side' and 'at' arguments) Hope this help, Pascal On 29/03/13 16:37, Berg, Tobias van den wrote: Dear R-users, I'm a bit of a rooky in R and do

Re: [R] changing y-axis intervals in a boxplot

2013-03-29 Thread Berg, Tobias van den
='n') axis(2, at=seq(0,25,1)) HTH, Pascal On 29/03/13 18:22, Berg, Tobias van den wrote: Thank you Pascal but unfortunelately i still didn't figure out how to change the numbers presented at the y-axis. I looked up your suggestions but if I'm right, yaxt can set if the axis is presented

Re: [R] error: in catg (xi, name=nam, label=lab): LO2 has 2 category levels

2012-09-10 Thread Berg, Tobias van den
] Verzonden: vrijdag 7 september 2012 18:17 Aan: Berg, Tobias van den CC: PIKAL Petr; r-help Onderwerp: Re: [R] error: in catg (xi, name=nam, label=lab): LO2 has 2 category levels On Sep 7, 2012, at 8:03 AM, Berg, Tobias van den wrote: Dear all, Probably I made a beginners mistake. While importing

Re: [R] error: in catg (xi, name=nam, label=lab): LO2 has 2 category levels

2012-09-07 Thread Berg, Tobias van den
]] NULL [[10]] NULL It would be great to receive ideas, comments or questions about my challenge. Kind regards, Tobias -Oorspronkelijk bericht- Van: PIKAL Petr [mailto:petr.pi...@precheza.cz] Verzonden: vrijdag 7 september 2012 16:22 Aan: Berg, Tobias van den CC: r-help Onderwerp: RE