Displaying 4 results from an estimated 4 matches for "rrss".
Did you mean:
rss
2013 Feb 15
1
Suggestion: Custom filename patterns for non-Sweave vignettes
Hi,
as far as I understand it, the new R devel feature of processing
non-Sweave vignettes will (a) locate any "[.][RrSs](nw|tex)$" or
".Rmd" files, (b) check for a registered vignette engine, (c) process
the file using the registered "weave" function, (d) and possibly post
process the generated weave artifact (e.g. a *.tex file).
I'd like to propose to extend this non-Sweave mechanism t...
2010 Nov 10
1
error on R CMD rtags
...tags -o /usr/local/build/ETAGS
--no-Rd --no-c library/
Tagging R files under library/; writing to /usr/local/build/ETAGS
(overwriting)...
[..]
Error: '\.' is an unrecognized escape in character string starting "[.]*\."
Execution halted
Done
?rtags says that
pattern = "\\.[RrSs]$"
so I don't understand why it would throw up this error. The output
file is empty. Am I doing something wrong?
Liviu
> sessionInfo()
R version 2.11.1 (2010-05-31)
x86_64-pc-linux-gnu
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en...
2004 Jul 06
0
Model frame manipulation
...ctor red.vars
> Z<-X[,!(dimnames(X)[[2]]%in%red.vars)] # restricted model matrix
>
and then the rest...
> q<-dim(X)[[2]]-dim(Z)[[2]]
>
> umod<-lm(y~X)
> rmod<-lm(y~Z)
>
> ures<-umod$resid
> rres<-rmod$resid
>
> URSS<-sum(ures^2)
> RRSS<-sum(rres^2)
>
> test <- ((RRSS - URSS)/q) / (URSS / (n-k))
> (...) }
Now to my question: the above works just fine when the names in red.vars
are *exactly* those of regressors in the model frame, e.g. if I am
taking logs of one variable, say, "a", in model mod<-lm(d...
2013 Oct 03
1
Error in "Writing R Extensions"
In Section 1.4.2 of "Writing R Extensions"
%\VignetteEngine{knitr::knitr}
should be
%\VignetteEngine{knitr::knit}
> sessionInfo()
R version 3.0.2 (2013-09-25)
Platform: x86_64-apple-darwin10.8.0 (64-bit)
Is this sort of thing best reported here, or is a huge report in order?
John Maindonald email: john.maindonald at anu.edu.au
phone : +61 2 (6125)3473 fax