Displaying 20 results from an estimated 180 matches for "doby".
2009 Oct 06
2
Unable to load 'doBy' package
Hi all,
I am trying to load the doBy package, and I am getting the following error:
> library(doBy)
Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
there is no package called 'Hmisc'
Error: package/namespace load failed for 'doBy'
I tried updating R to the current version (2.9.2) and installing the mo...
2010 Dec 10
1
New Installs, Same Trouble Loading doBy and coin Packages
I tried Tal's suggestion of deleting the doBy and coin packages and then
reinstalling them from a different mirror. The first install was from the
Harvard mirror and the second was from the Case Western Univ. mirror. The new
packages generate the same errors when I call them using the library() command.
Also, I tried to load these packages...
2010 Apr 23
1
doBy and Hmisc on R version 2.11.0
I installed R 2.11.0, and I don't think I can load the doBy package
now. Any suggestions?
> library("doBy")
Loading required package: survival
Loading required package: splines
Error in loadNamespace(i[[1L]], c(lib.loc, .libPaths())) :
there is no package called 'Hmisc'
Error: package/namespace load failed for 'doBy'
> s...
2010 Dec 08
1
Trouble Loading doBy and coin Packages
Good Evening R-Help Community:
I have attached a file that contains the output from sessionInfo() and a summary
of my Win XP system. I am?running R 2.12.0 and using Tinn-R 2.3.6.2 as my
interface. When I attempt to call either the doBy or coin packages R generates
an error that I do not understand and have so far not been able to resolve by
searching R resources.
I exchanged a couple of emails with Soren Hojsgaard who does not think the doBy
error is directly related to the package itself, and he suggested that I post
this p...
2009 Jun 09
1
how to use "lapplyBy" function of "doBy" package
Dear Ruser's
I want to substitute each "NA" by the group mean of which the "NA" is
belonging to. For example, substitute the first record of traits "NA" by the
mean of "BSPy01-10" in the dummy dataframe.
I have ever tried to solve this problem by using doBy package. But, I
failed. I ask for the advice on how to use "lapplyBy" function of "doBy"
package.
The commands used and the output I got are as followed:
library(doBy)
df<-orderBy(~group,data=df) # succeeded
f1<-function(x){m<-mean(x, na.ram=TRUE); x[is.na(x)]<-m...
2017 Oct 30
2
R: dplyr, doBy, and ggplot2 in CentOS7
...cript that I am running from python with rpy2. On a debian
system I run this:
apt-get install R-cran-ggplot2 R-cran-caret
And the script works. I want to move this to CentOS 7 system. There it
cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what
packages in CentOS 7 I need for dplyr, doBy, and ggplot2?
2011 Jun 29
1
library(doBy) will not load
Greetings R Community,
One of my favorite packages won't load and I'm not sure why. It loaded earlier today. The problem appears with the snow package, which doBy requires. I tried reinstalling both packages again ,shutting [R] down, reinstalling [R] in the workspace (shortcut). Here's the weird thing. The same exact library loads in another workspace using the same version of [R] with no problem.
OS: Windows 7
R version 2.14 (in development)
>...
2017 Oct 30
2
R: dplyr, doBy, and ggplot2 in CentOS7
...system I run this:
> >
> > apt-get install R-cran-ggplot2 R-cran-caret
> >
> > And the script works. I want to move this to CentOS 7 system. There it
> > cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what
> > packages in CentOS 7 I need for dplyr, doBy, and ggplot2?
> >
>
>
> They are not in the CentOS or epel distros. I have built both dplyr and
> ggplot2 for CentOS 6 and 7, using the spec file crated by R2spec (from
> epell) and rpmbuild. They both require building several other R packages,
> and a bit of tweaking to the...
2011 Dec 09
1
Can not install doBy
Every time I try to install the doBy package I receive this error message:
Warning in install.packages :
error 1 in extracting from zip file
Warning in install.packages :
cannot open compressed file 'mvtnorm/DESCRIPTION', probable reason 'No
such file or directory'
Error in install.packages : cannot open the conn...
2013 Jan 17
3
how to use "..."
Dear users,
I'm trying to learn how to use the "...".
I have written a function (simplified here) that uses doBy::summaryBy():
# 'dat' is a data.frame from which the aggregation is computed
# 'vec_cat' is a integer vector defining which columns of the data.frame
should be use on the right side of the formula
# 'stat_fun' is the function that will be run to aggregate
stat.group <- f...
2009 Jun 09
4
how to substitute missing values (NAs) by the group means
...12 BSPy01-12 6.0
13 BSPy01-13 6.1
I want to substitute each "NA" by the group mean of which the "NA" is
belonging to. For example, substitute the first record of traits "NA" by the
mean of "BSPy01-10".
I have ever tried to solve this problem by using doBy package. But, I
failed. I ask for the right solutions by using doBy package or not.
The commands used and the output I got are as followed:
library(doBy)
df<-orderBy(~group,data=df) # succeeded
f1<-function(x){m<-mean(x, na.ram=TRUE); x[is.na(x)]<-m; x} # succeeded
datatraits<-la...
2011 Oct 22
4
issue loading doBy library
Hello,
How can I fix this? I have the latest version of R 2.13.2 and I use Mac OS X 10.7.2
> library(doBy)
Loading required package: lme4
Error in dyn.load(file, DLLpath = DLLpath, ...) :
function 'cholmod_l_start' not provided by package 'Matrix'
Error: package 'lme4' could not be loaded
> library(lme4)
Error in dyn.load(file, DLLpath = DLLpath, ...) :
function 'cholmo...
2017 Oct 30
0
R: dplyr, doBy, and ggplot2 in CentOS7
...on with rpy2. On a debian
> system I run this:
>
> apt-get install R-cran-ggplot2 R-cran-caret
>
> And the script works. I want to move this to CentOS 7 system. There it
> cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what
> packages in CentOS 7 I need for dplyr, doBy, and ggplot2?
>
They are not in the CentOS or epel distros. I have built both dplyr and
ggplot2 for CentOS 6 and 7, using the spec file crated by R2spec (from
epell) and rpmbuild. They both require building several other R packages,
and a bit of tweaking to the %files portion of the spec file,...
2017 Oct 30
0
R: dplyr, doBy, and ggplot2 in CentOS7
...>
> > > apt-get install R-cran-ggplot2 R-cran-caret
> > >
> > > And the script works. I want to move this to CentOS 7 system. There it
> > > cannot find R-cran-ggplot2 or R-cran-caret. Does anyone know what
> > > packages in CentOS 7 I need for dplyr, doBy, and ggplot2?
> > >
> >
> >
> > They are not in the CentOS or epel distros. I have built both dplyr and
> > ggplot2 for CentOS 6 and 7, using the spec file crated by R2spec (from
> > epell) and rpmbuild. They both require building several other R packages,
>...
2012 Nov 05
0
Diference in results from doBy::popMeans, multcomp::glht and contrast::contrast for a lme model
Hello R users,
I'm analyzing an experiment in a balanced incomplet block design (BIB). The
effect of blocks are assumed to be random, so I'm using nlme::lme for this.
I'm analysing another more complex experiments and I notice some diferences
from doBy::popMeans() compared multcomp::glht() and contrast::contrast().
In my example, glht() and contrast() were equal I suspect popMeans() are
doing something diferent. This a proprosital difference? Does popMeans
account the variance of random effects or something similar? The code below
is reproducible...
2009 Oct 01
2
Missing functions
Hi all,
I'm new to R and have been working hard to get familiarized with it. A
problem I'm facing now is that having installed some packages (psych, doBy),
I can't seem to access the functions even through there was no error
messages when I load them using library(). I get an error telling me the
function doesn't exist. But when I ran e.g. library(help = psych), the
function I want was missing.
I did find that when I load other packages, th...
2009 May 25
3
long format - find age when another variable is first 'high'
...ode on a small dataset follows.
Thanks very much, David Freedman
d<-data.frame(id=c(rep(1,3),rep(2,2),3),age=c(5,10,15,4,7,12),ldlc=c(132,120,125,105,142,160))
d$high.ldlc<-ifelse(d$ldlc>=130,1,0)
d
library(plyr)
d2<-ddply(d,~id,transform,plyr.minage=min(age[high.ldlc==1]));
library(doBy)
d2<-transformBy(~id,da=d2,doby.minage=min(age[high.ldlc==1]));
d2
--
View this message in context: http://www.nabble.com/long-format---find-age-when-another-variable-is-first-%27high%27-tp23706393p23706393.html
Sent from the R help mailing list archive at Nabble.com.
2011 Jun 24
0
lag and diff with transformBy
I have a question regarding?the very useful doBy package, and
specifically, the transformBy() function?with the lag() and diff()
functions. ?It is often useful to lag or difference data within a
panel, i.e., within a by-group. ?Is the following code a safe use of
transformBy? Is there an alternative?
First, does the initial "orderBy" s...
2006 Oct 06
1
glm and plot.effects
Dear R-helpers,
I don't see a difference between the following two plots of effect
objects, which I understand should be different. What am I missing?
require(doBy)
require(effects)
data(budworm)
m1 <- glm(ndead/20 ~ sex + log(dose), data=budworm, weight=ntotal,
family=binomial)
m1.eff <- all.effects(m1)
plot(m1.eff, rescale.axis = FALSE, selection = 2, main = 'rescale = F')
plot(m1.eff, rescale.axis = TRUE, selection = 2, main = 'rescale...
2010 Jul 08
2
transformation of data.frame
...7 gen3
0016070 gen4
0006511 gen4
I want to rearrange the matrix according to column GO, so that it will look
likes that:
GO:0042787 gen2
GO:0016070 gen2 : gen3 : gen4
GO:0007409 gen1 : gen3
GO:0006511 gen2 : gen4
GO:0006417 gen3
I've tried it with the package doBy (lapplyBy and paste) but it just doesn't
work out.
I will be very happy for any suggestions you might have to help me.
Thanks
Assa
[[alternative HTML version deleted]]