[R] Can one set box line width within the matplot command?

2007-03-12 Thread Ben Fairbank
see a way to set box width within matplot. Is there such an option? Thanks for suggestions, Ben Fairbank [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] 'Save Workspace' gives "recursive default argument reference" -- workaround?

2007-02-12 Thread Ben Fairbank
onnection with workspace saves. Can a user suggest a workaround or alternative method to save the workspace before I exit R and see if restarting will cure it? With thanks for any suggestions, Ben Fairbank [[alternative HTML version deleted]] ___

Re: [R] R in Industry

2007-02-08 Thread Ben Fairbank
and comes with ABSOLUTELY NO WARRANTY." Ben Fairbank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Patrick Burns Sent: Thursday, February 08, 2007 10:24 AM To: Albrecht,Dr. Stefan (AZ Private Equity Partner) Cc: r-help@stat.math.ethz.ch Subject: R

Re: [R] time series analysis

2007-02-01 Thread Ben Fairbank
is a good jumping-off place. Ben Fairbank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of lamack lamack Sent: Thursday, February 01, 2007 3:12 PM To: R-help@stat.math.ethz.ch Subject: [R] time series analysis Does anyone know a good introductory book o

Re: [R] jump in sequence

2007-01-30 Thread Ben Fairbank
Or perhaps rep(4:6,3)+9*rep(0:2,rep(3,3)) with changes as necessary for longer sequences Ben Fairbank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Adrian DUSA Sent: Tuesday, January 30, 2007 8:29 AM To: r-help@stat.math.ethz.ch Subject: [R] jump

[R] Use a text variable's value to specify another varaible?

2007-01-26 Thread Ben Fairbank
ressing, but I have not seen a method for it in the R manuals. Is there a general name for such indirect reference that one might search for? (This came up while writing a function that takes the value of 'varname' from the keyboard and then applies functions to it.) With thanks f

[R] Newbie question: Statistical functions (e.g., mean, sd) in a "transform" statement?

2007-01-19 Thread Ben Fairbank
A 45.54178 How can this be done? And, generally, what is the recommended method for creating computed new columns in data frames when "for" loops take too long? With thanks for any suggestions, Ben Fairbank Using version 2.4.1 on a Windows XP professional operating sy

[R] RODBC: sqlQuery is successful, but a similar sqlFetch returns error

2007-01-16 Thread Ben Fairbank
am running R 2.4.1 on a Windows XP pro machine with 2 gig of memory. Thanks for any suggestions or hints, Ben Fairbank [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinf

[R] Seek general information about time/date storage and functions in R

2007-01-04 Thread Ben Fairbank
, Ben Fairbank [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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 commented

[R] Better way to change the name of a column in a dataframe?

2006-12-14 Thread Ben Fairbank
me col1 col2 col3 col4 col5 col6 [1,]3 102657 [2,]684 1071 [3,]751318 [4,] 1065492 This seems cumbersome and not very intuitive. How can one accomplish this more simply? With th

Re: [R] Counting zeros in a matrix

2006-11-28 Thread Ben Fairbank
rowSums((A[,1:8]==0)*A[,2:9]==1) and adjust the 8 and the 9 for the number of columns in your matrix Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Guenther, Cameron Sent: Tuesday, November 28, 2006 3:20 PM To: r-help@stat.math.ethz.ch Subject: [R]

Re: [R] pairs matchning

2006-10-26 Thread Ben Fairbank
If all of the numbers are one-digit numbers, as your subset shows, you can create a third column equal to 10 * col 1 + col 2, and then use match() on the resulting two-digit numbers, no? If the numbers are larger than one-digit, and you know the maximum, use that rather than 10 as the multiplier.

[R] Methods of addressing multicollinearity in multiple linear regression with R

2006-10-23 Thread Ben Fairbank
reference. Thank you, Ben Fairbank [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch 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

Re: [R] Book recommendation for newbie to stats and R?

2006-10-17 Thread Ben Fairbank
logy will get you off on the right foot. Good luck! Ben Fairbank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zembower, Kevin Sent: Tuesday, October 17, 2006 9:08 AM To: r-help@stat.math.ethz.ch Subject: [R] Book recommendation for newbie to st

Re: [R] generate random numbers that sum up to 1

2006-10-10 Thread Ben Fairbank
s each solution will have. Ben Fairbank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sun Sent: Tuesday, October 10, 2006 8:28 AM To: r-help@stat.math.ethz.ch Subject: [R] generate random numbers that sum up to 1 I am trying to generate a vector of rand

[R] Space required by object?

2006-09-27 Thread Ben Fairbank
Does R provide a function analogous to LS() or str() that reports the storage space, on disk or in memory, required by objects? Ben Fairbank __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the

Re: [R] (no subject)

2006-07-11 Thread Ben Fairbank
Well, it's a little inelegant, but since the amount of information is the same in events that are certain to occur and certain not to occur, you could add the line prob[prob==0] <- 1 after you set up the prob vector, which would take care of the problem. Ben Fairbank -Original

[R] What does it mean to be "masked from data" when attaching? (Newbie question)

2006-05-13 Thread Ben Fairbank
I have several data frames, each with six variables and several hundred cases broken out from a larger dataframe by eleven values of a factor called "Division". I have to perform the same analysis on each one. I would like to do it by creating a data frame called data2 eleven times, once with dat

Re: [R] A comment about R:

2006-01-03 Thread Ben Fairbank
r newcomers or occasional users had the same experience? Is it time to reconsider splitting this list into two sections? Certainly the volume of traffic could justify it. Ben Fairbank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kjetil Halvorsen Sent: S

[R] Using data frames for EDA: Insert, Change name, delete columns? (Newcomer's question)

2005-06-28 Thread Ben Fairbank
, Ben Fairbank [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] Factanal loadings as large as 1.2 with promax -- how unusual?

2005-06-20 Thread Ben Fairbank
information, Ben Fairbank [[alternative HTML version deleted]] __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

RE: [R] Proba( Ut+2=1 / ((Ut+1==1) && (Ut==1))) ?

2005-04-25 Thread Ben Fairbank
These two expressions might be what you are looking for -- sum (3 == x[c(-length(x),-(length(x)-1))]+x[c(-1,-length(x))]+x[c(-1,-2)]) sum (-3 == x[c(-length(x),-(length(x)-1))]+x[c(-1,-length(x))]+x[c(-1,-2)]) Ben Fairbank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [R] off-topic question: Latex and R in industries

2005-04-06 Thread Ben Fairbank
be? After all, you get what you pay for," and, second, "Without a dedicated company standing behind it to take care problems and fix bugs, how can there be any quality control?" (I asked him if he had ever heard of Microsoft.) Ben Fairbank -Original Message- From: [E

RE: [R] Dendrogram for a type unbalanced ANOVA

2005-04-05 Thread Ben Fairbank
hierarchical clustering methods that might meet your needs. Try ?hclust to get started. Ben Fairbank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bob sandefur Sent: Tuesday, April 05, 2005 11:39 AM To: r-help@stat.math.ethz.ch Subject: [R] Dendrogram

RE: [R] a question about box counting

2005-04-04 Thread Ben Fairbank
Perhaps the following, substituting your vectors of x and y for runif(1) > x<-trunc(100*runif(1)) > y<-trunc(100*runif(1))/100 > length(unique(x+y)) [1] 6390 Ben Fairbank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Raj