similar to: anova table

Displaying 20 results from an estimated 600 matches similar to: "anova table"

2001 Mar 21
5
generate random number
Hi, I want to pick 3 "integer" random numbers from 1 to 10. How to do this? Thanks, Yu-Ling Wu __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2001 Mar 22
2
newbie questions: accessing functions globally
How can I access a function created in one data directory in another? I have been sourcing the text file that contains the function each time I go to another data dir. This is cumbersome, and I suspect there is a way to make functions global. Thanks in advance, S. David White Dept of Speech and Hearing Science Ohio State University Columbus, Ohio
2001 Feb 22
4
Setting elements in data frame
Hi all, I have a problem which I am biting my teeth into unsuccessfully: (x <- data.frame(S1=c("a","b","d","F"),N1=c(2,4,6,9),N2=c(6,NA,0,6))) S1 N1 N2 1 a 2 6 2 b 4 NA 3 d 6 0 4 F 9 6 > is.na(x) S1 N1 N2 1 FALSE FALSE FALSE 2 FALSE FALSE TRUE 3 FALSE FALSE FALSE 4 FALSE FALSE FALSE No I want to be able to do: 1) Setting
2001 Apr 10
5
Similarity matrix
I frequently use hclust on a similarity matrix. In R only a distance matrix is allowed. Is there a simple reliable transformation of a similarity matrix that will result in a distance matrix making hclust work the same as S-Plus with a similarity matrix? Venables & Ripley 3rd edition implies that a simple reversal of values will suffice. Thanks -Frank -- Frank E Harrell Jr
2001 Feb 12
2
CensorReg
Hi Group, I wonder if R has the function CensorReg which takes care of left truncation. I know it's in S. Thank you so much! Kel __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2001 Feb 20
1
interrupted plots
Hello, I'm trying to plot simple data containing numbers/year. I use plot(numbers~year, type="l"), but the problem is that there is no data for several years. S I would like the line to be interrupted for the period without data, and then continue afterwards. How can I do this ? Also, I've been using par(new=TRUE) to put two curves (same years, different numbers) on the same
2001 Mar 16
2
apply()
Hi, I input this command on a data matrix: > apply( traffic, 2, function(z){z-mean(z)}) and got the following error messages: Error in sum(..., na.rm = na.rm) : invalid "mode" of argument Can anyone tell me what is wrong here? Running R1.2.2 on Windows ME. Cheers, Kevin ------------------------------------------------- Ko-Kang Kevin Wang Statistical Analysis Division
2001 Mar 16
2
python bindings for R
Hello, my group is investigating the development of a statistical program in support of some other work we are doing. Stats is not really our area of expertise and we would like to leverage existing code where possible. From your site, I have gathered that R is pretty capable and well used. We are currently developing in python and targetting a primarily windows environment. We would like to
2001 Mar 16
2
Clip contour or image
Hi, I am almost new to R. Would any one show me (please include an example) how to clip a contour or image figure so that I only see the image or lines inside a selected area? Thank you very much Han -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info",
2001 Mar 15
3
outer
Dear r-plus users, i would like to use outer in the following case outer(x,y,FUN="fun") i suppose that my function fun is of the following form: fun<-function(x,y) { if(y>x) return(x+y) if(y<=x) return(0) } My problem is that the command outer(x,y,FUN="fun") return me a null matrix instead of an upper triangular matrix. Is somebody have a solution ? Thanks for your
2001 Mar 20
3
finding dedicated indexes?
Hi, I've got a matrix of two columns, say: > d <- t(array(1:20,dim=c(2,10))) > d [,1] [,2] [1,] 1 2 [2,] 3 4 [3,] 5 6 [4,] 7 8 [5,] 9 10 [6,] 11 12 [7,] 13 14 [8,] 15 16 [9,] 17 18 [10,] 19 20 now I need those values from column #2 where column #1 is equal to certain values. eg.: > i <- c(13,5,19) The
2001 Jul 26
6
replacing values in a vector
Hi all, there is a vector v with several NAs. I want to create a new vector n of the same length as v and the same NAs as in v and tried this: n <- vector(length=length(v), mode="numeric") replace(n, which(is.na(v)), NA) but this does't work, all values in n are 0. What went wrong? Thanks, Sven -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2006 Nov 03
1
question of one matrix column being treated as list rather than vector
Hi, I have one matrix derived from my function. It is as following: Browse[1]> each.uaa.data [,1] [,2] [1,] 33 152.3530 [2,] 33 264.7059 [3,] 51 583.3333 [4,] 33 323.3333 [5,] 50 292.549 [6,] 33 300 [7,] 56 104.1176 [8,] 52 246.6667 [9,] 53 242.5490 [10,] 33 212.9412 when I tried to get each.uaa.data[,2], it gave me a list, when I expect a vector so that
2001 Aug 28
2
Estimating Weibull Distribution Parameters - very basic question
Hello, is there a quick way of estimating Weibull parameters for some data points that are assumed to be Weibull-distributed? I guess I'm just too lazy to set up a Maximum-Likelihood estimation... ...but maybe there is a simpler way? Thanks for any hint (and yes, I've read help(Weibull) ;) Kaspar Pflugshaupt -- Kaspar Pflugshaupt Geobotanical Institute ETH Zurich, Switzerland
2001 Apr 20
5
Interacting with R
Dear R folks, (Running Windows 98, Pentium II, 128 Mb RAM) I have been using Splus 2000 for about 1.5 years, and have recently begun using R. I love the Open Source philosophy! I may be switching to to Linux soon. My question: How do people most often interact with R? In Splus 2000, I used "Script" windows to write functions. "Script" windows were great because: 1..
2002 Jul 18
3
Error Trying to Join Win2k to Samba 2.2.5 Domain
I've got 2.2.5 running on a test server (RH Linux 6.2), and I'm trying to get a Win2k box to join the domain, but I'm getting the following errors: (at log level 3) [2002/07/18 12:26:25, 2] passdb/pdb_smbpasswd.c:startsmbfilepwent(170) startsmbfilepwent_internal: unable to open file /etc/smbpasswd. Error was Permission denied [2002/07/18 12:26:25, 0]
1998 Jul 10
3
Custom Print Command
I'm trying to setup my public printers to do 4 pages per sheet, and am having nothing but problems making it work. The system is a Redhat 4.2 box running Samba 1.9.18p4, and the printers are postscript capable HP 4000 and 8000 machines. Using Redhat's printtool to set 4 page per sheet output works when printing via lpr, but as soon as I print from a Win95 box through samba, it's
1997 Jul 19
0
Different Create Masks for Files/Dirs
Is it possible to set different create masks depending on whether the object is a file or a directory? For instance, I want to set up a share to a point in my web tree, and I want files to be mode 754 and directories to be mode 755 (I don't want anything to have 'world' execute permissions except directories) Thanks, Mike -- Mike Tibor University of Alaska Anchorage (907)
2000 Jan 28
0
User's Home Dir Looks Empty
If anyone can shed some light on this, I'd appreciate it. I've got a user who connects a drive on her Win95 laptop to her home directory on a Red Hat 6.0 Linux box, and she now cannot see anything. The unix file permissions all appear fine, and explicitly sharing her home directory in smb.conf is the only way I've found to fix the problem. Oddly enough when I run smbstatus, I see
2001 Feb 08
2
Test for multiple contrasts?
Hello, I've fitted a parametric survival model by > survreg(Surv(Week, Cens) ~ C(Treatment, srmod.contr), > data = poll.surv.wo3) where srmod.contr is the following matrix of contrasts: prep auto poll self home [1,] 1 1 1.0000000 0.0 0 [2,] -1 0 0.0000000 0.0 0 [3,] 0 -1 0.0000000 0.0 0 [4,] 0 0 -0.3333333 1.0 0 [5,] 0 0