search for: regardspetr

Displaying 7 results from an estimated 7 matches for "regardspetr".

2002 Jul 23
3
Aggregate: assembling the "by" part on the fly
Dear R users, I'm having trouble using aggregate() and would greatly appreciate your advice. I am using R 1.5.1 on Windows 2000. I want to call my function in the following way extract.data(x=dat[, "Age", "Year"]) where extract.data() uses aggregate() to count the number of cases for each combination of "Age" and "Year". I've defined
2003 Feb 20
1
inserting an extra row into an array
Does anyone know a simple way to insert an extra row into a matrix or data frame, thus increasing the dimensions. Wayne KSS Ltd A division of Knowledge Support Systems Group plc Seventh Floor St James''s Buildings 79 Oxford Street Manchester M1 6SS England Company Registration Number 2800886 (Limited) 3449594 (plc) Tel: +44 (0) 161 228 0040 Fax: +44 (0) 161 236 6305
2002 Jul 26
4
chi square test is not appropriate? but what test is
...for testing counts or frequencies (if I understand it well). If I wanted to know whether these differences are significant, what type of statistical test I should use, when I have no access to underlaying data? Is it possible to do any statistical test on such data? Thank you in advance Best regardsPetr Pikal petr.pikal at precheza.cz p.pik at volny.cz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body&qu...
2003 Feb 21
2
how to chage values in data frame to NA iside a function
Dear all I have a function in which I would like to change some values to NA according to some condition. dropout<-function(y, nahr=FALSE,...) { <some stuff for computing an index> if (nahr) y[index]<<-NA invisible(index) } in case y is a vector all works OK but if it is a part of data frame by calling dropout(df$y) or dropout(df[,number]) no change is done. Please can you
2002 Jul 19
1
Re RGui and object browser
...;- data.frame(Object.Name,Object.Mode,Object.Type,Observations,Variables) if(mode != "any") objList <- objList[objList[["Object.Mode"]] == mode,] if(type != "any") objList <- objList[objList[["Object.Type"]] == type,] return(objList) } Best regardsPetr Pikal petr.pikal at precheza.cz p.pik at volny.cz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body&qu...
2002 Jul 18
2
RODBC and Excel Files
Hello, I am trying to play with RODBC library and Excel Files. In my file (doubs.xls) there are 2 spreadsheets: > library(RODBC) > connection<-odbcConnect("Excel Files") > sqlTables(connection) TABLE_CAT TABLE_SCHEM TABLE_NAME TABLE_TYPE REMARKS 1 F:\\Th?se\\R\\Doubs NA Faune$ SYSTEM TABLE NA 2 F:\\Th?se\\R\\Doubs NA Milieu$
2002 Sep 30
5
Chi-Square Distribution Plots
Dear list I have a vector of values that allegedly have a chi-squared distribution. I want to create a plot that shows the values I have obtained, and the chi-squared distribution curve for the specified number of degrees of freedom to show what should have been obtained. At the moment I am plotting the values I have obtained as a histogram and somehow want to put on to this plot the