search for: ndri

Displaying 20 results from an estimated 529 matches for "ndri".

Did you mean: dri
2003 Oct 01
3
sas.get problem
When I try citypro <- sas.get('c:/ndri/cvar/data', member = 'citypro2') I get the following errors and warnings: 'sas' is not recognized as an internal or external command, operable program or batch file. 'less' is not recognized as an internal or external command, operable program or batch file. Error in...
2010 May 13
3
How ls() only functions or anything else but functions?
Hello, How ls() only functions or only data objects (basically anything other than functions) such as data.frame, numeric ...? John [[alternative HTML version deleted]]
2008 Apr 14
3
Power curves
Hi, I am trying to create a power curve to show how the power of a t-test varies depending on the mean. Any ideas how I should go about this? Louisa _________________________________________________________________ [[alternative HTML version deleted]]
2008 Jul 29
1
Problem reading a particular file with read.spss()
...le in SPSS version 16.0.2 (April 10, 2008). For anyone willing to investigate, I placed a copy of the SPSS file here: http://www.chuckcleland.net/mySPSSfile.sav I would be grateful if someone could help to figure out why this file causes a problem. thanks, Chuck -- Chuck Cleland, Ph.D. NDRI, Inc. (www.ndri.org) 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 512-0171 (M, W, F) fax: (917) 438-0894
2009 Jun 12
3
Replacing 0s with NA
Hello I have a dataset in which I would like to replace 0s with NAs. There is a lot of information on how to replace NAs with 0, but I have struggled to find anything with regards to doing the reverse. Any recommendations would be great. Cheers Christine
2008 Aug 07
6
multiple tapply
Hi folk, I tried this and it works just perfectly tapply(iris[,1],iris[5],mean) but, how to obtain a single table from multiple variables? In tapply x is an atomic object so this code doesn't work tapply(iris[,1:4],iris[5],mean) Thanx and great summer holidays Gianandrea -- View this message in context: http://www.nabble.com/multiple-tapply-tp18868063p18868063.html Sent from the R help
2010 Mar 01
3
setting the steps for x axis labels on plot
Hello, I'm new to R, I've been working with it for the last 2 weeks. I am plotting some data and not getting the labels on the x axis I am expecting on my plot. my code reads #hours in the day h <- c(0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23) #hp is a data frame with a pivot table of 25 columns (label and data for 24 hours) plot(h, as.matrix(hp[1,2:25]),
2006 Mar 28
2
Welch test for equality of variance
...d.....I need the Welch test itself, for use in a meta-analysis (to determine if variances are equal). TIA Peter Peter L. Flom, PhD Assistant Director, Statistics and Data Analysis Core Center for Drug Use and HIV Research National Development and Research Institutes 71 W. 23rd St http://cduhr.ndri.org www.peterflom.com New York, NY 10010 (212) 845-4485 (voice) (917) 438-0894 (fax)
2008 Jun 06
5
request: a class having max frequency
Dear R users I have a very basic question. I tried but could not find the required result. using dat <- pima f <- table(dat[,9]) > f 0 1 500 268 i want to find that class say "0" having maximum frequency i.e 500. I used >which.max(f) which provide 0 1 How can i get only the "0". Thanks and best regards Muhammad Azam Ph.D. Student Department of
2009 Dec 02
4
Finding cases in one subset that are closet to another subset
Good afternoon Running R2.10.0 on Windows I have a data frame that includes (among much else) a factor (In_2006) and a continuous variable (math_3_4). I would like to find the 2 cases for In_2006 = 0 that are closest to each case where In_2006 = 1. My data looks like In_2006 math_3_4 0 55.1 1 51.6 1 18.1 1 26.6 1 14.1
2007 Jan 27
3
how to handle a longitudinal data
i have a data set with repeated measures on same people, structure like below: id x1 x2 ... 001 10 20 ... 001 8 45 ... 001 4 2 ... 002 .... 002 ... 002 .... 002 .... 003 .... ....... what is the easist way to show how many observations for each subject id? [[alternative HTML version deleted]]
2010 Jan 20
5
standardizing one variable by dividing each value by the mean - but within levels of a factor
Hello! I have a data frame with a factor and a numeric variable: x<-data.frame(factor=c("b","b","d","d","e","e"),values=c(1,2,10,20,100,200)) For each level of "factor" - I would like to divide each value of "values" by the mean of "values" that corresponds to the level of "factor" In other
2003 Dec 11
2
read.spss question warning compression bias
Hello again I have a file from SPSS in .sav format. when I run library(foreign) cvar<-as.data.frame(read.spss("c:\\NDRI\\cvar\\data\\cvar2rev3.sav")) I get a warning Warning message: c:\NDRI\cvar\data\cvar2rev3.sav: Compression bias (0) is not the usual value of 100. The data appear to be OK, but I am concerned. (I tried searching the archives and the documenation for data import export, but saw nothin...
2008 May 13
9
A Very Simple Question
...__________________________ > R-help at r-project.org 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, minimal, self-contained, reproducible code. -- Chuck Cleland, Ph.D. NDRI, Inc. (www.ndri.org) 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 512-0171 (M, W, F) fax: (917) 438-0894
2005 May 19
2
laten class analysis
Dear List, just a little question, I am interested in Latent Class Analysis and I guess if there is a package for this pourpose thank for you help, Simone
2006 Nov 23
1
loess lines in xyplot with two or more variables on the left side of a formula
...each series in the same panel like this: library(lattice) xyplot(IDUPREV + VALIDAT ~ YEAR | MSA, data = df, panel = panel.superpose, type="l") How could I change that so that panel.loess() is applied separately to each series? thanks, Chuck Cleland -- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 512-0171 (M, W, F) fax: (917) 438-0894
2008 Jan 18
1
Assigning into each of a list of dataframes
...8517 4 0.5087024 0.42044870 5 0.9175345 0.09447951 $df2 A B 1 0.3887178 0.2256608 2 0.2642189 0.2135938 3 0.3881635 0.2328115 4 0.9060760 0.1013091 5 0.4578424 0.8167602 I want the variable Y to be added to each data frame in mylist. thanks, Chuck -- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 512-0171 (M, W, F) fax: (917) 438-0894
2008 Mar 15
1
How to get the value of last element in a vector/array ?
Hi, a[length(a)] gives the value of last element. Is there an alternative without using functions ? [[alternative HTML version deleted]]
2008 Mar 29
1
directory of R "consultants for hire"
Does anyone know of a directory that lists consultants with expertise in R, as well as other statistical and computing skills, ideally with geographic location and other pertinent information? If one does not exist, might this be a good resource to create? --------------------------------- You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No
2008 Mar 31
1
Reverse seq
Hi all, I thought I was not SUCH a nooby:) How can I reverse a sequence/ vector? i.e., turn X <- 3 5 4 2 6 5 4 3 6 Into X <- 6 3 4 5 6 2 4 5 3 I mean without looping and indexing. There should be a very easy solution, shouldn't it? Mario __________________________________________________________________ Mario Maiworm Biological Psychology and Neuropsychology University of Hamburg