I have two straightforward questions about linking in the man pages for R
packages:
First, is it possible to link from within parts of the documentation that are
not the \seealso section? For example, I would like to have something like:
\arguments{
\item{correlation}{an optional \code{corStr
ould I be using here?
Thanks again!
Rebecca
- Original Message -----
From: "Uwe Ligges"
To: "Rebecca Sela"
Cc: "r-help"
Sent: Friday, July 10, 2009 8:17:44 PM GMT -05:00 US/Canada Eastern
Subject: Re: [R] \dQuote in packages
Rebecca Sela wrote:
>
ted to the
target variable)}
}
\references{Sela, Rebecca J., and Simonoff, Jeffrey S., \dQuote{RE-EM Trees: A
New Data Mining Approach for Longitudinal Data}.}
\keyword{datasets}
Thanks again for your help!
Rebecca
- Original Message -
From: "Uwe Ligges"
To: "Rebecca
w to assemble a package in
Windows.)
Thank you for your help!
Rebecca
- Original Message -
From: "Uwe Ligges"
To: "Rebecca Sela"
Cc: "r-help"
Sent: Wednesday, July 8, 2009 6:11:33 PM GMT -05:00 US/Canada Eastern
Subject: Re: [R] \dQuote in packages
The d
I am in the process of submitting a package to CRAN. R CMD check ran
successfully on the package on my local computer, using R version 2.1.1.
However, on the computers for CRAN (with version 2.10.0), the following errors
occurred:
Warning in parse_Rd("./man/predict.Rd", encoding = "unknown")
this list
as well.)
Thank you!
Rebecca
--
Rebecca Sela
IOMS/Statistics Group
Stern School of Business
New York University
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-pro
I just built a package in R (version 2.1.1 on a Linux machine) and then moved
it to my computer (R version 2.8.1 on a Windows machine). When I loaded the
package and tried to open help for one of the commands, I got the following
warning:
Warning message:
In print.help_files_with_topic("F:/R/R
I am writing my first R package, and I have been getting the following series
of errors when I run R CMD check:
* checking S3 generic/method consistency ... WARNING
Error: package/namespace load failed for 'REEMtree'
Call sequence:
2: stop(gettextf("package/namespace load failed for '%s'",
libra
FALSE, domain = NA)
1: library(package, lib.loc = lib.loc, character.only = TRUE, verbose = FALSE)
Execution halted
I have attached the NAMESPACE file in case that is where the problem is.
Thanks again for your help!
Rebecca
- Original Message -
From: "Duncan Murdoch"
To: &quo
I am creating an R package. I ran R CMD check on the package, and everything
passed until it tried to run the examples. Then, the result was:
* checking examples ... ERROR
Running examples in REEMtree-Ex.R failed.
The error most likely occurred in:
> ### * AutoCorrelationLRtest
>
> flush(stde
I am using DLM to fit a state space model. The covariance matrix of states (W)
is given by:
a 0 a 0
0 0 0 0
a 0 a 0
0 0 0 0
where a is a parameter to be estimated. Even though the matrix is positive
semidefinite, sometimes DLM gives me an error that W is not a valid variance
matrix. As far as
case with the attached code.) Is there a known
reason why this sometimes occurs?
Thank you in advance for all of your help!
Rebecca
--
Rebecca Sela
Doctoral Candidate
Statistics Group/IOMS
Stern School of Business__
R-help@r-project.org mailing list
I fit a random effects linear model to data, and then tried to use it to
predict, but I got this error:
> predict(lmeObject, newdata, level=0)
Error in eval(mCall$fixed)[-2] : object is not subsettable
This is a new error for me. It still occurs if I change the level to 1 or if I
change the dat
I tried to use LME (on a fairly large dataset, so I am not including it), and I
got this error message:
Error in lme.formula(formula(paste(c(toString(TargetName),
"as.factor(nodeInd)"), :
nlminb problem, convergence error code = 1
message = false convergence (8)
Is there any way to get mo
When I use a model fit with LME, I get an error if I try to use "predict" with
a dataset consisting of a single line.
For example, using this data:
> simpledata
Y t D ID
1 -1.464740870 1 0 1
2 1.222911373 2 0 1
3 -0.605996798 3 0 1
4 0.155692707 4 0 1
5 3.849619772 1 0
I would like to be able to extract the names of the variables in a formula that
specifies random effects. For example, given:
random = ~ 1+year | st_name
I'd like to be able to get "year" and "st_name" out of random. Neither
terms(random) nor random[2] seems to work. Is there a way to get vari
According to the R documentation for NLMINB, the returned value of convergence
is 0 for successful convergence. When I got another code (1), I looked up the
PDF that linked from the documentation
(http://netlib.bell-labs.com/cm/cs/cstr/153.pdf), which said that a return code
under 3 was imposs
--
Rebecca Sela
Statistics Department/IOMS
Stern School of Business
New York University
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
ing like
Y <- formula$Y
newY <- f(Y)
lm(newY~X1+X2+X3)
So far, it seems that my only option will be a very complicated sequence of
steps involving match.call(). Is there a simpler way to change the response
variable in a formula?
Thanks in advance!
Rebecca
--
Rebecca S
19 matches
Mail list logo