similar to: R-beta: scoping etc

Displaying 20 results from an estimated 10000 matches similar to: "R-beta: scoping etc"

1997 Apr 30
1
R-beta: Re: S Compatibility
Bill Venables writes: > Are the scoping differences between R and S set out precisely and > definitively somewhere? This would be useful. In the source code perhaps? :-) You can find a pretty precise description in the article Robert and I did in JCGS. Actually its pretty simple. Functions have access to the variables which were in effect when the function was defined. f <-
1997 Apr 30
1
R-beta: Re: S Compatibility
Bill Venables writes: ----- Begin Included Message ----- foresight) was publicly very supportive of Ross & Ron's efforts. ++++++ well I've never been called that before! ----- End Included Message ----- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send
1998 Apr 04
2
R-beta: standard-errors-glm
I have a small problem. I am running glm() in R-0.61.0 on Redhat 4.2. I want to get the standard errors from the output. If I do out <- glm(....) summary(out) I get the coefficients printed as well as their correlation matrix. If I do out$coefficients I get the coefficients out$fitted gives me the fitted values I can then assign the fitted values or the value of the estimated
1998 Mar 18
2
R-beta: Plot and scale
Hello everybody, I am doing a plot and I would like to know which parameter I have to use in order to get an equal scale for the axes x and y: Means, if the intervals in the x-axis is 0,5,10,15.... I would like to have the same scale for the y-axis. Thank you so much for your help. Halima from Leiden where the sun is shining. Holland
1998 Aug 20
2
R-beta: Hmisc and R
Hello, I want to try the Design and Hmisc library from FE Harrell but, i have trouble with the copyright for the library Hmisc : in the home of the author : http://fharrell.biostat.virginia.edu/s/unix/ in the file Hmisc.README ###COPYRIGHT NOTICE ###You may not port code in the Hmisc library to R. Aie, Why ???? ###You may distribute these functions freely as long as you do so without
1998 Mar 26
3
R-beta: Teach material for R
A non-text attachment was scrubbed... Name: not available Type: text Size: 1480 bytes Desc: not available Url : https://stat.ethz.ch/pipermail/r-help/attachments/19980326/974231c9/attachment.pl
1997 Sep 09
2
R-beta: "Comparison of Mathematical Programs for Analysis"
Hi, I have just seen Stefan Steinhaus' web page : http://www.uni-franfurt.de/~stst/ncrunch.html I think it would be nice to include "R" as well. I have taken Forrest Young's email on stat-lisp list and changed the stuff for "R" :) Here it is: (someone please check this so we can also send it to Stefan Steinhaus.
2004 May 05
4
anyone know how to combine two vector with some # overlaped?
Hi, there, Suppose I have two vector say x=c(1 2 3 4 5) and y=(2 3 6 7). Then I want to combine these two vector together and get z=c(1 2 3 4 5 6 7) with 2 and 3 only appear once. I want to extend this one to a general case(say more than 100 elements in x and y and each time I don't know which elements are the same). Do you happen to know how to do this and which command should use? Thank
2004 Jun 29
2
Numbers as symbols
I want to use question numbers from my survey data (fake data below) as markers in a scatterplot. I'm using "as.character" to convert question numbers to characters. However, plot truncates the 0 (zero) off of question 10. How can I get the ending zero so I can add questions 11 - 20? # Sample code below Question <- c(1,2,3,4,5,6,7,8,9,10) Performance <-
1997 Apr 30
1
R-beta: Re: S Compatibility
At 03:28 30/04/97, ihaka at stat.auckland.ac.nz wrote: >Bill Venables writes: > (As a complete side-issue, Brian Ripley and I have a kind of > convention: we refer to the language as "S" and the commercial > product as "S-PLUS". There is a useful distinction to be made.) > >This is generally what I try to do too. > >However, I suspect though that most
2004 Apr 08
1
getting data frame rows out of a by object
Hi. I can quickly create a by object that selects rows from a data frame. After that, though, I don't know how to merge the rows back into a data frame that I can use. Here is an example where there is a data frame with three columns, a, b, and c. I update it so that there are two rows for each combination of a and b. I use by to select the subgroups of rows that share the same a and b
2001 Nov 29
3
Reset trellis plot backgroud color
Hello, I run R on Windows 2000. When I load lattice library and plot some lme class objects, the graphic window displays a dark-green color. Graphics look ok on the screen, but lines and points become invisible whem I send the plot to a printer because of the background color. Are there ways to reset the background color? Both par(bg=) and windows() do not work. Any ideas? Richard
2002 Mar 21
5
repeating rows or columns within a matrix
Hello Spse I have a matrix, say 1 2 3 4 5 6 7 8 9 and I would like to expand it by repeating rows within the matrix, to get, if the repeating factor is 2, say: 123 123 456 456 789 789 (or columnwise as well) . There must be a smart way of doing that? Many thanks Juhana Vartiainen juhana.vartiainen at labour.fi -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
1999 Mar 17
1
hist(list)?
It seems that the following should work: > x<-read.table('1A.tab',header=T,skip=1); > mode(x[1]) [1] "list" > x[1] p01 R1-00 0.0295 R1-01 0.0283 R1-02 0.0145 R1-03 0.0235 R1-04 0.0339 R1-05 0.0239 R1-06 0.0414 R1-07 0.0259 > hist(x[1]) Error: hist: x must be numeric > as.numeric(x[1]) Error: (list) object cannot be coerced to vector type 14 >
2023 Mar 19
1
lexical scoping for scripts......
What do _you_ mean when you use the term "interactive"? Because R distinguishes between executing code in a function and executing code from the global environment, but it does not care whether a person is doing the typing or not. I get the feeling that you think of your R code in terms of "scripts" when you should be thinking of your code in terms of functions. What
2023 Mar 19
1
lexical scoping for scripts......
Dear Jeff, I will not be running R command in the shell prompt. So there is no banner, no > prompt. Just running "myscript.R" from the shell prompt. or from crontab in Linux. I think you get the context..... thanking you, yours sincerely AKSHAY M KULKARNI ________________________________ From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us> Sent: Monday, March
2010 Jul 07
3
Large discrepancies in the same object being saved to .RData
Hi developers, After some investigation I have found there can be large discrepancies in the same object being saved as an external "xx.RData" file. The immediate repercussion of this is the possible increased size of your .RData workspace for no apparent reason. The function and its three scenarios below highlight these discrepancies. Note that the object being returned is exactly
2023 Mar 19
1
lexical scoping for scripts......
Again, the answer is "interactivity does not matter". On March 19, 2023 12:54:28 PM PDT, akshay kulkarni <akshay_e4 at hotmail.com> wrote: >Dear Jeff, > I will not be running R command in the shell prompt. So there is no banner, no > prompt. Just running "myscript.R" from the shell prompt. or from crontab in Linux. I think you get the
1998 Oct 16
3
mean and sd of each serial position
I want to do something like this in R. If I have three vectors > a1 [1] 1 2 3 > a2 [1] 4 5 6 > a3 [1] 9 10 7 I want to compute 1. A vector that is the mean at each serial position of a1, a2, and a3. so in this example it would have the contents 4.667, 5.667, 5.333333 2. A vector that is the SD at each serial position of a1, a2, and a3. so in this example it would have the contents
2010 Sep 08
2
[LLVMdev] Generating Consistent Instruction IDs
Hi, I'd like to ask you what's the best way of generating instruction identifiers which are consistent across independent invocations of the LLVM program. One way would be to use a counter and iterate over all the functions, then all the BBs. But are there any guarantees on the ordering of the functions and BBs in the iteration? In extremis, I can sort the functions after name, but what