search for: kaya75

Displaying 10 results from an estimated 10 matches for "kaya75".

Did you mean: kaya
2008 Nov 15
3
I want my row name to be a variable
Hi R users Imagine this data.frame: >X Var1 Var2 A 22 13 B 5 2 C 12 8 D 1 99 A,B,C,D are the rows names (or index) Is there a way to create a new variable in this data frame which name is Var3 and which contains the rows names: Var1 Var2 Var3 A 22 13 A B 5 2 B C 12 8 C D 1 99
2012 Dec 01
5
How to built a pivot table of value
Hi R users Imagine the table "base": p=c("d","d","b","b","a","a") q=c("v1","v2","v1","v2","v1","v2") r=c(5,2,4,8,9,7) base=data.frame(p,q,r) base p q r 1 d v1 5 2 d v2 2 3 b v1 4 4 b v2 8 5 a v1 9 6 a v2 7 How programming R to
2008 Nov 19
2
simplify this instruction
Hi R users, Is there a way to simplify this instruction: ifelse(B=="0","A", ifelse(B=="1","A", ifelse(B=="2","A", ifelse(B=="3","A", ifelse(B=="4","A", ifelse(B=="5","A", ifelse(B=="6","A", ifelse(B=="7","A",
2009 Mar 23
1
Graphic with several curves
Hi R users, Imagine the folowing data frame 1990 1991 1992 1 5 20 6 2 15 1 11 3 3 14 22 4 20 8 55 5 10 3 14 Is there a way to build a graphic in which: - 1 curve represents the observation 1 during 1990 & 1992 - 1 curve represents the observation 2 during
2008 Nov 16
1
Are you sure a table can become a data.frame?
Hi R users, Imagine X as a data frame: X=read.table(textConnection(" Var1 Var2 1 A H 2 B K 3 A H 4 B H 5 C L "),header=TRUE) closeAllConnections() X X is a data frame Var1 Var2 1 A H 2 B K 3 A H 4 B H 5 C L Y<-table(X$Var1,X$Var2) Y is a cross table between Var1 and Var2
2008 Nov 21
1
equation of a line or curve
Hi R users I used the function line(x,y) and line(lowess(x,y)) to see the correlation between 2 variables (x,y). Here is my question: is there a way to ask R to tell me the equation of -this line : line(x,y) -this curve: line(lowess(x,y)) Best regards -- View this message in context: http://www.nabble.com/equation-of-a-line-or-curve-tp20628845p20628845.html Sent from the R help mailing list
2008 Nov 12
2
separate a variable in several variables
Hello R users, Imagine the data frame DATA with the variable x which is composed by numeric and alpha caracters. > DATA x 1 12F 2 13 AD 3 356PO 4 1D 5 GRT 6 PO52 7 LN4Z Is there a way to separarate x in 2 variables: y: only numeric caracters z: only alpha caracters For exemple: x y z 1 12F 12 F 2 13 AD 13 AD 3 356PO
2008 Dec 11
4
A package to set up a questionnaire & enter data
Hi R users, Is there a Package in R to - set up a questionnaire? - enter data? Best regards -- View this message in context: http://www.nabble.com/A-package-to-set-up-a-questionnaire---enter-data-tp20947237p20947237.html Sent from the R help mailing list archive at Nabble.com.
2009 Oct 21
2
linear regression: Is there a way to get the results of lm as variables
Hi R users I used R to get the results of a linear regression reg<-lm(y~x) here are the results: # Call: # lm(formula = donnees$txi7098 ~ donnees$txs7098) # # Residuals: # Min 1Q Median 3Q Max #
2009 Nov 06
4
map of a country and its different geographical levels
Hi R users I need the map of France?s ? communes ? (towns) to build a map Is there a way to get it? More generally: How to do to get the map of a country and its different geographical levels? Best regards -- View this message in context: http://old.nabble.com/map-of-a-country-and-its-different-geographical-levels-tp26225645p26225645.html Sent from the R help mailing list archive at