Displaying 20 results from an estimated 700 matches similar to: "no visible binding for global variable"
2011 Feb 04
1
GWAF package: lme.batch.imputed(): object 'kmat' not found
Hello, All,
GWAF 1.2
R.Version() is below.
system(lme.batch.imputed(
phenfile = 'phenfile.csv',
genfile = 'CARe_imputed_release.0.fhsR.gz',
pedfile='pedfile.csv',
phen='phen1',
covar=c('covar1','covar2'),
kinmat='imputed_fhs.kinship.RData',
outfile='imputed.FHS.IBC.GWAF.LME.output.0.txt'
))
Gives the error messages:
Error in
2020 Jan 13
0
Error in R CMD check --as-cran ?
I've been fighting a CMD check error for coxme this morning.?? I thought I had it fixed,
but instead I had forgotton --as-cran on my last test run.? So the version just submitted
to CRAN has warning messages in the log.
I think it is an issue with CRAN.?? I've sent a message to R-devel asking for help.??
Since then, as a guess, I renamed my internal "ismat" function to
2008 Mar 25
1
Error propagation
Dear R-helpers,
I´m in the context of writing a general function for error propagation
in R.
There are somehow a few questions I would like to ask (discuss), as my
statistical knowledge is somewhat restricted.
Below is the function I wrote, the questions are marked.
Many thanks in advance.
propagate <- function(expr, varList, type = c("stat", "raw"), cov =
TRUE)
{
2009 Nov 19
0
strange crashes caused by 'cairoDevice' and 'tcltk' dialogues
Dear developers
I get some strange crashes when 'cairoDevice' and 'tcltk' are both
loaded in the same R vanilla session.
When executing the following in that order
require(relimp)
require(cairoDevice)
showData (iris)
I get a crash with the following message (see R-relimp-cairoDevice.txt):
The program 'R' received an X Window System error.
This probably reflects a bug in
2011 Mar 18
2
Need help with error
Hi R users,
I am getting the following error when using the splsda function in R
v2.12.1:
"Error in switch(classifier, logistic = { : EXPR must be a length 1
vector"
What does this mean and how do I fix this?
Thank you in advance!
Best,
Savi
2003 Oct 08
2
Generating automatic plots
Hello,
I have been trying to write a small program to generate automatic plots. What
I want is to draw boxplots for some variables in my data frame, contrasting
with a variable called 'missing' that has value 1 if some variable in a
concrete case has at least one missing value, in order to check if the cases
that don't enter in my analysis are biased.
The first attempt was to
2013 Jan 31
0
Longitudinal RelaImpo in LME4
I am currently using the relaimpo package to estimate the relative
importance of regressors (N= 4000):
> m1 <- lm(y ~ x1+x2+x3+x4+x5+, data=data)
> calc.relimp(m1, rela=TRUE)
> m2=boot.relimp(m1, boot = 500, rela=TRUE, type="lmg")
> booteval.relimp(m2)
> plot(booteval.relimp(m2))
In a new dataset with 3 measurement points (0,6,12 weeks), I want to
perform a similar
2007 Oct 25
0
libswfdec/swfdec_as_object.c
libswfdec/swfdec_as_object.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
New commits:
commit 429b50907703001fb58cf9840751844b0b8ea839
Author: Benjamin Otte <otte at gnome.org>
Date: Thu Oct 25 16:22:12 2007 +0200
rework swfdec_as_object_decode()
It used to unescape before looking for = or & signs
Also, it had 2 memleaks
I should probably
2010 Feb 18
1
variable substitution
Hi
I would like to write a script that reads a list of variable names. These variable names are some of the column headers in a data.frame. Then I want do a for-loop to execute various operations on the specified variables in the data.frame, but can't figure out how to do the necessary variable substitution. In bash (or C) I would use "$var", but there seems to be no equivalent in
2012 Nov 24
1
Bootstrap lmekin model
Hi,I use the 'lmekin' model of the 'kinship' package of R in order to estimate heritability. I want to estimate the confidence interval of the variance coefficient and so I should use a bootstrap simulation. The pedigree file has 1386 subjects so I create a kinship matrix [1386*1386].This is the code of R I use:
kfit2 <- lmekin(IT~1+AGE +(1|ID), dati1,
2012 Jan 04
3
informal conventions/checklist for new predictive modeling packages
Working on the caret package has exposed me to the wide variety of
approaches that different authors have taken to creating predictive
modeling functions (aka machine learning)(aka pattern recognition).
I suspect that many package authors are neophyte R users and are
stumbling through the process of writing their first R package (or R
code). As such, they may not have been exposed to some of the
2010 Aug 26
1
relimp
I am trying to use Rcmdr 1.5_4 with R-2.11.1 (order to run to run the new version of misdist-0.5.3 which is built under R-2.11.1). however relimp is required for Rcmdr and the version of relimp_1.0.1 downloaded from CRAN will not work with the latest version of Rcmdr (I get error message telling me to reload it). Is there any way round this problem or will there be a new version relimp that is
2009 Jan 27
1
small bug in base::formatC (PR#13474)
Full_Name: Bernd Bischl
Version: 2.8.1
OS: Windows XP Professional
Submission from: (NULL) (129.217.207.95)
Hi,
there seems to be a small bug in formatC:
formatC("foo", format="s", mode="charcacter")
Error in formatC("foo", format = "s", mode = "charcacter") :
'mode' must be "double" ("real") or
2007 Oct 31
0
5 commits - libswfdec/swfdec_as_object.c libswfdec/swfdec_audio.c libswfdec/swfdec_sound.c libswfdec/swfdec_xml.c
libswfdec/swfdec_as_object.c | 20 +++++++++++++-------
libswfdec/swfdec_audio.c | 2 +-
libswfdec/swfdec_sound.c | 20 +++++++-------------
libswfdec/swfdec_xml.c | 2 +-
4 files changed, 22 insertions(+), 22 deletions(-)
New commits:
commit cd8a1b3eb4192c51b5787f53071e17270b5d2cca
Author: Pekka Lampila <pekka.lampila at iki.fi>
Date: Wed Oct 31 12:08:50 2007
2011 Apr 15
1
no solution yet, please help: extract p-value from mixed model in kinship package
I am making the question clear. Please help.
> Dear R experts
>
> I was using kinship package to fit mixed model with kinship matrix.
> The package looks like lme4, but I could find a way to extract p-value
> out of it. I need to extract is as I need to analyse large number of
> variables (> 10000).
>
> Please help me:
>
> require(kinship)
>
> #Generating
2012 Dec 01
0
Relative strength of regression predictors (relaimpo vs. relimp)
Hello!
I am trying test my observed data against the null-hypothesis that
different items from a psychological questionnaire contribute equally to
the metric dependent variable that measures problems (sum score of a
questionnaire). That is, I am interested in relative strength of the
predictors.
Predictor items of the questionnaire are on a scale from 0-3, and
technically ordinal, although most
2010 Mar 19
0
relaimpo - dummy variable
Hi,
I have a question related to the function "boot.relimp" (package relaimpo).
I have a model with numerical predictors and one dummy (class) variable. I
would like to calculate the relative importance of the predictors but I have
some problems with the dummy variable.
The name of the linear model is "lmbroadst.lc" and the dummy variable is
"datacon.landcover_gb"
2012 Aug 07
0
predicting test dataset response from training dataset with randomForest
Hi
I am new to R so I apologize if this is trivial.
I am trying to predict the resistance or susceptibility of my
sequences to a certain drug with a randomForest function from a file
with amino acids on each of the positions in the protein. I ran the
following:
> library(randomForest)
>
> path <- "C:\\..."
> path2 <- "..."
> name <-
2005 Feb 08
5
How to get variable names in a function?
Hello,
applying a function to a list of variables I face the following problem:
Let's say I want to compute tables for several variables. I could write a
command for every single table, like
bravo<-c(1,1,2,3,5,5,5,);charly<-c(7,7,4,4,2,1)
table(bravo); table(charly)
> table(bravo); table(charly)
bravo
1 2 3 5
2 1 1 3
charly
1 2 4 7
1 1 2 2
The results are two tables with the
2016 Dec 13
2
syntax difference clusterExport in parallel and snow
We got some errors and eventually figured out that
parallel::clusterExport second argument is "varlist" while in
snow::clusterExport it is "list".
The user had loaded parallel first, but did something else which
inadvertently loaded snow, then clusterExport failed because we had
"varlist" and not "list".
Are these different on purpose?
pj
--
Paul E.