Displaying 6 results from an estimated 6 matches for "keybi".
Did you mean:
keybit
2014 Mar 15
0
allocation error and high CPU usage from kworker and migration: memory fragmentation?
Hi,
I'm new to this list (and R), but my impression is that this question is
more appropriate here than R-help. I hope that is right.
I'm having several issues with the performance of an R script.
Occasionally it crashes with the well-known 'Error: cannot allocate
vector of size X' (this past time it was 4.8 Gb). When it doesn't crash,
CPU usage frequently drops quite low
2012 Oct 26
3
how to make simulation faster
Dear R users,
I need to run 1000 simulations to find maximum likelihood estimates. I
print my output as a vector. However, it is taking too long. I am running 50
simulations at a time and it is taking me 30 minutes. Once I tried to run
200 simulations at once, after 2 hours I stopped it and saw that only about
40 of them are simulated in those 2 hours. Is there any way to make my
simulations
2013 Aug 30
0
ddply for comparing simulation results
This might do it:
> lhs=c('a','a','a','b')
> rhs=c('a','b','b','b')
>
>
> # function to determine differences
> f_diff <- function(l, r){
+ t_l <- table(l)
+ t_r <- table(r)
+ # compare 'l' to 'r'
+ sapply(names(t_l), function(x){
+ if (is.na(t_r[x])) return(t_l[x])
2018 Nov 29
3
Unexpected argument-matching when some are missing
On Thu, Nov 29, 2018 at 10:51 AM S Ellison <S.Ellison at lgcgroup.com> wrote:
>
> > When trying out some variations with `[.data.frame` I noticed some (to me)
> > odd behaviour,
>
> Not just in 'myfun' ...
>
> plot(x=1:10, y=)
> plot(x=1:10, y=, 10:1)
>
> In both cases, 'y=' is ignored. In the first, the plot is for y=NULL (so not
2013 Apr 29
3
Counting number of consecutive occurrences per rows
Hi,
I would appreciate if somebody could help me with following calculation.
I have a dataframe, by 10 minutes time, for mostly one year data. This is
small example:
> dput(test)
structure(list(jul = structure(c(14655, 14655, 14655, 14655,
14655, 14655, 14655, 14655, 14655, 14655, 14655, 14655, 14655,
14655, 14655, 14655), origin = structure(0, class = "Date")),
time =
2013 Jul 12
4
simplify a dataframe
Hello
I have the following problem : group the lines of a dataframe when no
information change (Matricule, Nom, Sexe, DateNaissance, Contrat, Pays)
and when the value of Debut of lines i = value Fin of lines i-1
I can obtain it with a do loop. Is it possible to avoid the loop ?
The dataframe initial is df1
dput(df1)
structure(list(Matricule = c(1L, 1L, 1L, 6L, 6L, 6L, 6L, 6L,
6L, 8L, 8L, 8L,