Displaying 20 results from an estimated 500 matches similar to: "new cv package: cross-validation of regression models"
2008 Nov 17
1
CITATION file with multiple citEntry(): no BibTeX produced by citation()
[Using R 2.8.0 / Win XP / ]
I just added a CITATION file to the heplots package--- appended below.
From the document ion for ?CITATION, there can be *one or more* calls to
citEntry() within the CITATION file, and each should produce an object
of class "citation".
With just a single citEntry(), citation produces the expected output,
with BibTeX entry:
>
2017 Oct 10
0
Regular expression help
How about this (I'm showing it as a pipe because it's easier to read
that way):
library(magrittr)
"f 147/1315/587 2820/1320/587 3624/1321/587 1852/1322/587" %>%
? strsplit(' ') %>%
? unlist %>%
? sub('^[^/]*/*','',.) %>%
? sub('^[^/]*/*','',.) %>%
? paste(collapse = ' ')
Georges Monette
--
Georges Monette,
2016 Apr 09
1
assign
Hi,
I couldn't resist these two suggestions:
strings <- c("ASk/20005-01-45/90", "Alldatk/25-17-4567/990")
x <- as.numeric(gsub("^[^-]*-|-.*$","",strings))
or
x <- as.numeric(sub("^[^-]*-([0-9]+)-.*$","\\1",strings))
Best,
Georges
---------------------
Georges Monette, York University, Toronto
On 08/04/2016 10:53 PM,
2016 Jul 18
0
summary() dispatch puzzle
>>>>> Ben Bolker <bbolker at gmail.com>
>>>>> on Fri, 15 Jul 2016 16:45:50 -0400 writes:
> I'm sorry I haven't boiled this down to a more-minimal example yet,
> but ...
> I'm working on an S3 method (tidy.merMod, in the 'broom' package). It
> normally handles 'merMod' objects from the lme4 package,
2016 Jul 15
2
summary() dispatch puzzle
I'm sorry I haven't boiled this down to a more-minimal example yet,
but ...
I'm working on an S3 method (tidy.merMod, in the 'broom' package). It
normally handles 'merMod' objects from the lme4 package, but I'm trying
to make it handle 'merModLmerTest' objects from the lmerTest package too.
The merModLmerTest class inherits (as an S4) class from the
2017 Sep 14
2
using phia with glmmTMB
Hi folks,
I love the Phia package andwant to use it with glmmTMB, but when i try to
use the interactionMeans command, i get the below error
modelrepeatedmain2 <- glmmTMB(counts ~
cluster*nominated*nominator*junior_senior+Ltime+
(1|school)+(1|id),
data=d_shortf,
family=nbinom1)
2017 Sep 14
0
using phia with glmmTMB
Dunno ...
But you might do better posting this on the r-sig-mixed-models list where
it both should fit better and where you are more likely to find the
relevant expertise.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Thu,
2008 Oct 29
2
sessionInfo() error
[Using R 2.7.2 on Windows XP]
After re-building our heplots package, I've begun to get the following
error from sessionInfo(),
even though it passes R CMD check and builds without errors:
> sessionInfo()
Error in x$Priority : $ operator is invalid for atomic vectors
In addition: Warning message:
In FUN(c("MASS", "heplots", "car", "rgl",
2013 Apr 06
1
Fw: Reversing data transformation
From: aguitatierra@hotmail.com
Sent: Friday, April 05, 2013 11:47 PM
To: r-help@r-project.org ; R Help
Subject: Reversing data transformation
Hi everybody,
I would be very grateful if you could give me your thoughts on the following issue.
I need to perform Box-Cox (bcPower) transformation on my data. To do this, I calculated lambda using the function 'powerTransform'.
2002 Apr 08
2
user coordinates and rug plots in lattice graphics
Dear R list members,
I'd like to produce rug plots at the bottom of panels in a trellis display
(using the lattice package), but par("usr") doesn't return user coordinates
for panels, and consequently rug fails, as the following example (suggested
to me by Georges Monette) illustrates:
> x <- rnorm(50)
> y <- rnorm(50)
> f <-
2013 Apr 05
1
Reversing data transformation
Hi everybody,
I would be very grateful if you could give me your thoughts on the following issue.
I need to perform Box-Cox (bcPower) transformation on my data. To do this, I calculated lambda using the function 'powerTransform'.
powerTransform(data)
However, I got an error message when performing this function:
Convergence failure: return code = 52
I was told by John Fox
2013 Sep 13
2
R CMD check fails in R-devel r63910
Hi,
The R CMD check is successful in R 3.0.1 but fails to install package
lmerTest under R-devel r63910,
Here is what I get:
** preparing package for lazy loading
Error in reconcilePropertiesAndPrototype(name, slots, prototype,
superClasses, :
no definition was found for superclass "merMod" in the specification of
class "merModLmerTest"
In DESCRIPTION file I have:
2013 Jan 17
0
powerTransform Warning Message
Hello,
I would like to perform a Box-Cox (“bcPower”) transformation on my data. For this, I am determining lambda using the “powerTransform” function. However, with one of my variables I get the following Warning Message:
In estimateTransform(x, y, NULL, ...) :
Convergence failure: return code = 52
My variable is:
> x
[1] 0.0001031130 0.0001029480 0.0001040010 0.0001037940 0.0001046280
2018 Jul 01
2
Installing sjPlot in R 3.4.4 on Ubuntu 16.04LTS
Dear all,
I have had some rather serious difficulties getting graphics and analysis
packages to load in R on my new Ubuntu Install.
The trouble seems to begin when attempting to install TMB.
I have done a full purge of r-base r-base-dev and r-base-core and
reinstalled the newest version of RStudio (not that this should matter).
I'm not sure what to try next.
many thanks!
Brandon Z
>
2013 Jan 31
1
Please, problem using “bcPower”
Hello,
I would like to perform a Box-Cox (“bcPower”) transformation on my data. For this, I am determining lambda using the “powerTransform” function. However, with one of my variables I get the following
Warning Message:
In estimateTransform(x, y, NULL, ...) :
Convergence failure: return code = 52 My variable is:
> x
[1] 0.0001031130 0.0001029480 0.0001040010 0.0001037940 0.0001046280
2018 Feb 26
0
How to model repeated measures negative binomial data with GEE or GLMM
Goal: use GEE or GLMM to analyze repeated measures data in R
GEE problem: can?t find a way to do GEE with negative binomial family in R
GLMM problem: not sure if I?m specifying random effect correctly
Study question: Does the interaction of director and recipient group affect
rates of a behavior?
Data:
Animals (n = 38) in one of 3 groups (life stages): B or C.
Some individuals (~5)
2018 Apr 13
0
Longitudinal and Multilevel Data in R and Stan: 5-day workshop May 28 to June 1, 2018
Longitudinal and Multilevel Data in R and Stan
ICPSR short course: May 28 to June 1, 2018
May 28: Introduction to R by John Fox
May 29 to June 1: Longitudinal and Multilevel Data in R and Stan by Georges Monette
Sponsored and organized by ICPSR, University of Michigan and
held at York University in Toronto, Ontario
Course description:https://www.icpsr.umich.edu/icpsrweb/sumprog/courses/0226
2015 Oct 04
2
Conditional importFrom (roxygen?)
Duncan Murdoch <murdoch.duncan <at> gmail.com> writes:
>
> On 04/10/2015 10:10 AM, Jonathan Greenberg wrote:
> > Folks:
> >
[snip snip snip]
> >
> > Is there a way to do a conditional importFrom based on the OS? Or can I
> > safely ignore this (I'm trying to submit to CRAN).
> >
>
> Yes, you can put conditionals into the
2017 Jun 15
1
glmmTMB
Hi List,
I'm having some trouble finding documentation for the package glmmTMB.
I would like to fit a zero-truncated poisson, what do I need to specify in "family = " for this distribution?
Thanks! Alice
[[alternative HTML version deleted]]
2013 Sep 19
1
Vignette problem and CRAN policies
Hello, All:
The vignette with the sos package used "upquote.sty", required for R
Journal when it was published in 2009. Current CRAN policy disallows
"upquote.sty", and I've so far not found a way to pass "R CMD check"
with sos without upquote.sty.
I changed sos.Rnw per an email exchange with Prof. Ripley without
solving the problem; see below. The