similar to: RE workspace vs. image

Displaying 20 results from an estimated 700 matches similar to: "RE workspace vs. image"

2004 Mar 18
1
termplot has problems with a single term (fix included) (PR#6675)
The bug exists on R-1.9.0-alpha compiled the 10/3. Termplot has a problem if either the model only contains a single term or if asked to plot a single term. In addition there are problems with the option se = TRUE. Analysis: termplot starts with terms <- if (is.null(terms)) predict(model, type = "terms", se = se) else predict(model, type = "terms", se = se,
2009 Feb 27
0
help with correct use of function lsfit
To the purpose of fitting a 2nd order polynomial (a + b*x + c*x^2) to the chunk of signal falling in a 17 consecutive samples window I wrote the following very crude script. Since I have no previous experience of using Least Square Fit with R I would appreciate your supervision and suggestion. I guess the returned coefficients of the oolynomial are: a = -1.3191398 b = 0.1233055 c = 0.9297401
2007 Mar 08
1
Drawing sub-samples
Folks, I have a dataframe (snippet shown below). > demo.df[1:10, 1:6] dirn county year exp exp.wave r3 1 43901 Cuyahoga 2006 0 0 56 2 49098 Pickaway 2006 0 0 77 3 44164 Portage 2006 0 0 85 4 44610 Wayne 2006 1 1 76 5 45120 Wayne 2006 0 0 82 6 49593 Scioto 2006 1 1 89 7 46516 Crawford 2006 0 0
2004 Aug 23
0
cannot join domain unless its root user
I'm atttempting to setup samba 3 as a primary domain controller which authenticates users from a windows 2k/xp prof workstation and maps their respective home folders as well as their respective shared folders on the gentoo server. For example, I have the following groups with their designated shares: Group Shared Dir ------------ ------------------ water
2004 Mar 18
1
termplot has problems with a single term (fix included) (PR#6679)
On Thu, 18 Mar 2004 k.hansen@biostat.ku.dk wrote: > The bug exists on R-1.9.0-alpha compiled the 10/3. > > Termplot has a problem if either the model only contains a single term > or if asked to plot a single term. In addition there are problems with > the option se = TRUE. I can't reproduce this in either R-devel or 1.8.1, and termplot hasn't changed since January. I do
2003 Feb 14
2
How to solve A'A=S for A
It is not clear to me that one can. If the singular value decomposition of A is the triple product P d Q', then the singular value decomposition of A'A=S is Q d^2 Q'. The information about the orthonormal matrix P is lost, is it not? ********************************************************** Cliff Lunneborg, Professor Emeritus, Statistics & Psychology, University of Washington,
2004 Jan 04
0
termplot; failure to subset non-dataframe carriers (PR#6327)
termplot() does not carry subsetting over to carriers that are in the environment but not in the data frame. This generates a "subscript out of bounds" error. > data(ToothGrowth) > logdose <- log(ToothGrowth$dose) > tooth.lm <- lm(len ~ logdose, data=ToothGrowth) > termplot(tooth.lm) ## Works fine > toothVC2.lm <- lm(len ~ poly(dose,2),
2009 May 04
1
wrong if-else syntax
What is wrong in the following nested if-else statements: if (Condition_1) { # begin IF_1 statement_1 statement_2 statement_3 if (Condition_2) { # begin IF_2 a<- a +1 } # end IF_2 statement_4 statement_5 statement_6 statement_7 if (Condition_3) {
2006 Apr 24
1
undefined type 'struct tms' when compiling for MinGW
Hello list, Out of interest, I've been trying to compile R on WinXP with MinGW/MSYS. I've been following the instructions for compiling R on windows as closely as possible. Below is my configure statement, which seems to work okay except that no browser or pdf viewer is found, and html docs will not be compiled... I've tried enabling/disabling many different options, and I also add
2003 Mar 26
0
termplot (PR#2687)
# r-bugs@r-project.org `termplot' bombs if the original dataset contains NAs in the predictors, even if these were ignored during fitting: test> bug.data_ data.frame( x=c(1:3, NA), y=runif( 4)) test> lm.tpbug_ lm( y~x, data=bug.data) test> termplot( lm.tpbug) Error in xy.coords(x, y, xlabel, ylabel, log) : subscript out of bounds A simple fix seems to be add the
2007 Mar 03
5
[PATCH] Compile issue with tools/libfsimage/iso9660
Compile issue with tools/libfsimage/iso9660 char vs unsigned char signedness causes a warning when compiling iso9660 (xen-unstable). This patch changes the unsigned char * for char *. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> diff -r 8eff89a69521 tools/libfsimage/iso9660/fsys_iso9660.c --- a/tools/libfsimage/iso9660/fsys_iso9660.c Fri Mar 02 18:42:00 2007 -0500 +++
2003 Oct 04
4
Point and click
The following query raises the question: What is it that students learn from point and click dialogs?" Date: Fri, 03 Oct 2003 16:57:42 -0400 From: To: s-news at lists.biostat.wustl.edu Subject: Splus question Message-ID: <BAY9-F52Q7OoK42LpqI000238f3 at hotmail.com> I don't know if this is the right list to post this question. If not, please let me know where I should post this. I
2003 Jul 11
1
getAnyhwhere behavior
I would have expected the function getAnywhere to have behaved differently in the following: > search() [1] ".GlobalEnv" "file:C:/R/Rdata/miya/.Rdata" [3] "package:boot" "package:methods" [5] "package:ctest" "package:mva" [7] "package:modreg"
2004 Aug 18
3
...Why social scientists don't use R
Berton Gunter has written in part: > A few comments: > First, your remarks are interesting and, I would say, mainly well founded. However, I think they > are in many respects irrelevant, although they do point to the much bigger underlying issue, > which Roger Peng also hinted at in his reply. > I think they are sensible because R IS difficult; the documentation is often
2011 Jun 12
1
snow package
Hi I try parallelising some code using the snow package and the following lines: cl <- makeSOCKcluster(8) pfunc <- function (x) (if(x <= (-th)) 1 else 0) ###correlation coefficient clusterExport(cl,c("pfunc","th")) cor.c.f <- parApply(cl,tms,c(1,2),FUN=pfunc) The parApply results in the error message: > cor.c.f <- parApply(cl,tms,c(1,2),FUN=pfunc) Error
2010 May 18
2
Function that is giving me a headache- any help appreciated (automatic read )
note: whole function is below- I am sure I am doing something silly. when I use it like USGS(input="precipitation") it is choking on the precip.1 <- subset(DF, precipitation!="NA") b <- ddply(precip.1$precipitation, .(precip.1$gauge_name), cumsum) DF.precip <- precip.1 DF.precip$precipitation <- b$.data part, but runs fine outside of the function: days=7
2011 Jan 07
1
formula(model.frame(y~.^2, data=d)) does not return formula from terms attribute of the model.frame
In R 2.12.0 I get > d <- data.frame(x=1:10, y=log(1:10), f3=LETTERS[rep(1:3,c(3,3,4))]) > m <- model.frame(y~.^2, data=d) > formula(m) y ~ x + f3 In S+ formula(m) gives formula given to model.frame(), but in R you have to do the following get that formula: > formula(attr(m, "terms")) y ~ (x + f3)^2 Would it break anything to add to the top of
2002 Oct 03
0
more on selective deletion
I am trying to arrange a mirroring of two trees which will be arranged like this : --- top --- .htaccess a --- a number of log files a +-- Files --- contains local stuff b +-- dir1 --- files c +-- dir2 --- files c |
2009 Oct 06
1
ggplot2 applying a function based on facet
Look at the bottom of the message for my question #here is a little function that I wrote USGS <- function(input="discharge", days=7){ library(chron) library(gsubfn) #021973269 is the Waynesboro Gauge on the Savannah River Proper (SRS) #02102908 is the Flat Creek Gauge (ftbrfcms) #02133500 is the Drowning Creek (ftbrbmcm) #02341800 is the Upatoi Creek Near Columbus (ftbn) #02342500 is
2003 Mar 06
0
loop avoiding on time interval intersects
I am trying to optimize some code to take advantage of R loop-avoiding capabilities when working on vectors/arrays that contain time intervals. The calculation involves adding (for each time interval) the time portion (of events defined by their start and end times) that elapsed during time intervals. Any advice on how to improve this code. I searched the email archive and looked at the MASS