[R] Fwd: Obtaing the maximum

2013-05-30 Thread Marion Wenty
posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Mag.a Marion Wenty Wissenschaftliche Mitarbeiterin Institut für Kinderrechte und Elternbildung Ballgasse 2, 6. Stock 1010 Wien [[alternative HTML version deleted]]

Re: [R] package memisc: recode examples

2012-08-02 Thread Marion Wenty
ston ON Canada > > > > -Original Message- > > From: ehl...@ucalgary.ca > > Sent: Wed, 25 Jul 2012 12:57:33 -0700 > > To: marion.we...@gmail.com > > Subject: Re: [R] package memisc: recode examples > > > > On 2012-07-25 09:29, Marion Wenty wrote: >

Re: [R] Memisc package: imported varibles from SPSS have got wrong measurement

2012-07-27 Thread Marion Wenty
Dear David and Paul, Thank you for your answers! Yes, Paul, I checked the SPSS file and the numerical variables that had no value labels assigned to them in SPSS got the right measurements in R after importing, namely "interval". The two variables that had the measurement "nominal" in R allthough

[R] Memisc package: imported varibles from SPSS have got wrong measurement

2012-07-25 Thread Marion Wenty
variables the measurement is not o.k, though. They exclusively contain numbers in the SPSS file (e.g. the age of a person) - and no NAs - but have got the measurement "nominal"! Does anyone know why this is happening? Thank you very much for your help in advance! Marion -- Mag.

Re: [R] package memisc: recode examples

2012-07-25 Thread Marion Wenty
Thank you, John, for the clarification! :) I have written to the R core team pointing this out. Marion 2012/7/24 John Kane > > > -Original Message- > > From: marion.we...@gmail.com > > Sent: Tue, 24 Jul 2012 15:48:10 +0200 > > To: e.vettora...@uke.de > > Subject: Re: [R] package memisc

Re: [R] package memisc: recode examples

2012-07-24 Thread Marion Wenty
). Or perhaps you wrote you own > recode function? > > Try > > find("recode",mode="function") > > to see all search list entries. > > You can access the desired function regardless of the place in the > search path by > memisc::recode(...) > > > h

[R] package memisc: recode examples

2012-07-24 Thread Marion Wenty
Dear people, Yesterday I looked at the recode command in the memisc package and ran the following example stated in the manual: x <- as.item(sample(1:6,20,replace=TRUE), labels=c( a=1, b=2, c=3, d=4,

Re: [R] problem with using apply for dataframe

2012-07-24 Thread Marion Wenty
w/columnwise. > > btw: > > apply(mydataframe,2,function(x)sum(x)) > > doesn't work either (for the same reason). > > Cheers > > Am 19.07.2012 11:48, schrieb Marion Wenty: > > Dear people, > > > > I am including an example of a dataframe: &

[R] problem with using apply for dataframe

2012-07-19 Thread Marion Wenty
Dear people, I am including an example of a dataframe: mydataframe<-data.frame(X=c(1:4),total_bill=c(16.99,10.34,21.01,23.68),tip=c(1.01,1.66,3.50,3.31),sex=c("Male","Male","Male","Female")) When I use the sapply function getting the information about the factors works: sapply(mydataframe,funct

Re: [R] Import single variables from SPSS

2012-07-12 Thread Marion Wenty
th > Eik > > Am 05.07.2012 15:05, schrieb Marion Wenty: > > Dear all, > > I have got a very big SPSS dataframe and I would like to just import one > or > > a few variables (the dataframe has got a lot of colums). > > I used the package foreign but I couldn't fi

[R] Import single variables from SPSS

2012-07-05 Thread Marion Wenty
Dear all, I have got a very big SPSS dataframe and I would like to just import one or a few variables (the dataframe has got a lot of colums). I used the package foreign but I couldn't find anything in there for my problem. Thank you very much for your help in advance. Marion [[alternative

Re: [R] maptools: using to sets of information (within two shape files) for one plot

2012-06-20 Thread Marion Wenty
nse. There are good resources and vignettes sp and > related tools that explain this, and a dedicated mailing list for data > like these (R-Sig-Geo). > > Cheers, Mike. > > On Thu, May 31, 2012 at 7:32 PM, Marion Wenty > wrote: > > Dear all, > > > > I am usin

[R] maptools: using to sets of information (within two shape files) for one plot

2012-05-31 Thread Marion Wenty
Dear all, I am using a shape file containing the information regarding the borders of the PARISHES of Austria. I created a plot with different colours for different percentages of child care institutions. Now I would like to add the information of the COUNTY boundaries to this plot which I have g

Re: [R] barplot: legend: two rows

2012-05-22 Thread Marion Wenty
Hello Uwe, thanks for drawing this to my attention! I tried it again without adding another empty legend element and it worked - yes, the second row not being visible was my problem. Now it works! Thanks again, Marion 2012/5/15 Uwe Ligges > > > On 15.05.2012 17:38, Marion We

Re: [R] barplot: legend: two rows

2012-05-15 Thread Marion Wenty
""),fill=c("navyblue","steelblue4","steelblue2","lightsteelblue3","lightsteelblue1","white"),bty="n",border="white",cex=1.2) Not quite such a nice way, but it works, anyway. Marion 2012/5/11 Marion Wenty &g

Re: [R] plot: many bars with wide bars

2012-05-15 Thread Marion Wenty
o the naked eye, so it's o.k. for now. Thanks again for your help! Marion 2012/5/11 Jim Lemon > On 05/11/2012 09:33 PM, Marion Wenty wrote: > >> Hello, >> >> I have got another problem. >> >> I wrote a function which is able to create plots with different n

[R] plot: many bars with wide bars

2012-05-11 Thread Marion Wenty
Hello, I have got another problem. I wrote a function which is able to create plots with different numbers of bars. In order to give them a similar look I determined the width of the bars using the parameters width=0.59 AND ylim=c(0,10)) (see function below) Now, this only works if I have j

Re: [R] barplot: legend: two rows

2012-05-11 Thread Marion Wenty
F) axis(1,at=ticks,las=1,labels=paste(ticks,"%",sep="")) par(xpd=TRUE) legend(0,-1.4,xjust=0,ncol=3,legend=colnames(dat)[-1],fill=c("navyblue","steelblue4","steelblue2","lightsteelblue3","lightsteelblue1"),bty="n"

[R] barplot: legend: two rows

2012-05-09 Thread Marion Wenty
dear r-helpers, i have got another question: i am using the functions par(xpd=T) legend to create a legend below the x-axis. i used the parameter horiz=T. now i would like to put the elements of the legend in two rows: e.g. if my legend has got 5 elements, i would like 3 elements in one row a

Re: [R] white lines in barplot

2012-05-09 Thread Marion Wenty
Yes, this worked! Thank you very much!! Marion 2012/5/9 Jim Lemon > On 05/09/2012 07:12 PM, Marion Wenty wrote: > >> Dear R-helpers, >> >> I would like to draw white lines in my barplots to improve the >> visualization. >> >> I include an example: &

[R] white lines in barplot

2012-05-09 Thread Marion Wenty
Dear R-helpers, I would like to draw white lines in my barplots to improve the visualization. I include an example: barplot(sample(1:100,15),width=0.59,horiz=T,col="steelblue",border="NA",axes=F,ylim=c(0,10),xlim=c(0,100)) abline(v = seq(10, zehnind, by = 10), col = "white") axis(1,at=ticks,la

[R] merge - preserve value labels

2012-04-24 Thread Marion Wenty
Hello, I am having trouble with the merge function. I am trying to merge two dataframes. Before I merge them I can get the value labels by using the command attr(Dataframe_1$MyVariable,"value.labels") attr(Dataframe_2$MyVariable,"value.lables") Personen unter 15 Jahren Präsenz- und Zivildiener

Re: [R] Reading SPSS: underlying numerical codes

2012-04-24 Thread Marion Wenty
lt = > T) > > sex_num > [1] -2 -3 -2 -3 > Levels: -2 -3 > This example creates a new factor, so you have access to both. But you > could also overwrite the original with the new factor. > > > Hope this is of some help. > > Regards, > > > > Michael Bib

Re: [R] Reading SPSS: underlying numerical codes

2012-04-19 Thread Marion Wenty
1010100561 -3 8 1010100601 -2 Thank you very much for your help in advance, Marion 2012/4/13 Michael Bibo > Marion Wenty gmail.com> writes: > > > > I have got a question concerning the underlying numerical codes when > > reading an SPSS file i

Re: [R] Reading SPSS: underlying numerical codes

2012-04-12 Thread Marion Wenty
labels = FALSE? > > Best, > Ista > > On Thu, Apr 12, 2012 at 6:28 AM, Marion Wenty > wrote: > > Dear people, > > > > I have got a question concerning the underlying numerical codes when > > reading an SPSS file into R. > > > > I used the pack

[R] Reading SPSS: underlying numerical codes

2012-04-12 Thread Marion Wenty
Dear people, I have got a question concerning the underlying numerical codes when reading an SPSS file into R. I used the package foreign and when I look at a variable I get the verbal codes. I would like to know how it is possible to get the underlying numerical codes as output, which are the s

Re: [R] table: output: all variables in rows

2012-04-05 Thread Marion Wenty
Hello David, yes! this is what I was looking for! Thank you very much for your help. Marion 2012/4/2 David Winsemius > > On Apr 2, 2012, at 7:11 AM, Marion Wenty wrote: > > Dear people, >> >> I would like to create a table out of a data.frame. >> >> How

[R] table: output: all variables in rows

2012-04-02 Thread Marion Wenty
Dear people, I would like to create a table out of a data.frame. How can I determine, which variables are put in the rows and which in the columns? I would like to get all the variables in the ROWS: I am including a simple example: D<-data.frame(age=c(8,9,10),county=c("B","W","W")) the output

Re: [R] Reading spss files into R - warnings

2012-03-29 Thread Marion Wenty
, but I ignore them as my data seems > to arrive into R intact. > > Hope that helps. > > cheers, >Steve > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Marion Wenty > Sent: Friday, 17 F

Re: [R] import .csv file into R

2012-02-24 Thread Marion Wenty
Hi Michael, thanks a lot for the additional tips! So far it all has worked! Marion 2012/2/17 Marion Wenty > Hi Michael and Rui, > > thanks a lot for the tips. > > It worked with both your suggestions! > > I also found out, that this problem only exists if I put heade

Re: [R] Run function several times changing only one argument - without a loop

2012-02-20 Thread Marion Wenty
ot;NA",xlim=c(0,100),axes=F) > vaxis<-Vectorize(axis,"pos") > invisible(vaxis(2,pos=(1:9)*10, tick=T, tcl=F, labels=F,col="white")) > > Cheers! > > Am 20.02.2012 11:04, schrieb Marion Wenty: > > Dear people, > > > > I created a plot w

[R] Run function several times changing only one argument - without a loop

2012-02-20 Thread Marion Wenty
Dear people, I created a plot which looks like this: Ee1<-matrix(c(88,86,74,62,41),ncol=5) colnames(Ee1)<-c("Lehrer","Lehrerinnen","Klassenkollegen","Klassenkolleginnen","Geschwister") par(las=1) par(mar=c(5,13,4,2)) barplot(Ee1,horiz=T,col="grey85",border="NA",xlim=c(0,100),axes=F) axis(2,pos=10

Re: [R] import .csv file into R

2012-02-17 Thread Marion Wenty
Hi Michael and Rui, thanks a lot for the tips. It worked with both your suggestions! I also found out, that this problem only exists if I put header=T. Thanks again! Marion If you don't need to refer to colnames you should be fine. If you do need to subset by colnames, you can still do it w

Re: [R] import .csv file into R

2012-02-16 Thread Marion Wenty
Weylandt > check.names=FALSE > > but it's discouraged because it will make it hard to refer to column > names inside R. > > Michael > > On Thu, Feb 16, 2012 at 11:18 AM, Marion Wenty > wrote: > > Dear r-helpers, > > > > I read a .csv file

[R] import .csv file into R

2012-02-16 Thread Marion Wenty
Dear r-helpers, I read a .csv file into R with the following command: A<-read.csv2(file="Mappe3.csv") It worked fine, except that I would like to get rid of the points between the words and get spaces instead like I have got in the .csv file. At the moment it looks like the following: habe.m

Re: [R] save objects of own function to workspace

2012-02-16 Thread Marion Wenty
Hello Rolf, thank you for your advice! Though, I find there is no need to get personal about my stage of devolopment in R. Cheers, Marion 2012/2/15 Rolf Turner > On 16/02/12 03:59, Marion Wenty wrote: > > > > Thank you for your answers! >> >> Jeff, thanks ver

[R] Reading spss files into R - warnings

2012-02-16 Thread Marion Wenty
Hello people, I have got a question concerning reading spss files into R: I used the package foreign and the following command: read.spss("C:/Eigene Dateien/myspssfile.sav",to.data.frame=T) I have read two different files into R (several times) and always got the following two warning messages:

Re: [R] save objects of own function to workspace

2012-02-15 Thread Marion Wenty
reated mz_int with the Dg_a object which is now containing Var_v. In this way I get both new colums (Var_m and Var_v). But what I thougt you ment was that concerning these two lines ... colnames(Dg_a)[colnames(Dg_a)=="apkz"]<-"bpkzm" colnames(Dg_a)[colnames(Dg_a)==Var]&

Re: [R] save objects of own function to workspace

2012-02-14 Thread Marion Wenty
012/2/14 David Winsemius > > On Feb 14, 2012, at 9:20 AM, Marion Wenty wrote: > > Dear R-helpers, >> >> I created an own function which looks like this >> >> s_elternmz <- function(Var="balt") >> > > { >> Dg_a<-mz[,c(

[R] save objects of own function to workspace

2012-02-14 Thread Marion Wenty
Dear R-helpers, I created an own function which looks like this s_elternmz <- function(Var="balt") { Dg_a<-mz[,c("asbhh","apkz",Var)] colnames(Dg_a)[colnames(Dg_a)=="apkz"]<-"bpkzm" colnames(Dg_a)[colnames(Dg_a)==Var]<-paste(Var,"_m",sep="") mz_int<-merge(mz,Dg_a,by=c("asbhh","bpkzm"),all

Re: [R] creating more vectors out of one

2012-02-07 Thread Marion Wenty
Thank you very much for your help! I used the split(apkz, cumsum(apkz==1)) command and it worked! I find the command very interesting and after a bit of thinking I found out, why the command cusum is used! (Because TRUE equals 1 and FALSE equals 0) Thanks again! Marion 2012/2/6 Petr PIKAL

[R] creating more vectors out of one

2012-02-06 Thread Marion Wenty
Dear R-helpers, I have got a vector which looks like the following: apkz <- c(1,2,3,4,5,6,1,1,2,1,2,3,4) now I am trying to find a way to automatically create several vectors, each starting with the number 1, namely: First vector 1 2 3 4 5 6 Second vector 1 Thrid vector 1 2 Fourth ve

Re: [R] function: as.integer

2012-01-31 Thread Marion Wenty
hanks again Regards, Marion 2012/1/31 Marion Wenty > dear r-helpers, > > i created an object named A, which looks like this: > > A <- c("4.4","1.9","4.1") > > now i needed to get numbers instead of characters and for this i used the > func

[R] function: as.integer

2012-01-31 Thread Marion Wenty
dear r-helpers, i created an object named A, which looks like this: A <- c("4.4","1.9","4.1") now i needed to get numbers instead of characters and for this i used the function: as.integer(A) which resulted in: [1] 4 1 4 My question is, why the numbers are rounded or more impotantly if th

[R] ca package - more than two colours

2012-01-25 Thread Marion Wenty
hello, I created a correspondence anlalysis plot with the ca package using the command plot(ca(mymatrix)). I got two different colours for the rows and the colums, like it is standard i gather. My question is, if it is possible to get more - for example 3 - different colours? In the foll

Re: [R] list: index of the element, that is TRUE

2012-01-16 Thread Marion Wenty
> > Thank you all very much for your help! > Yes, the unlist or as.logical command is what I was looking for. Anyway, Duncan, the sapply is also usefull and I might need it some other time. Thanks, Michael, also for the tip that if you get a vector when a list is expected, that the the program w

[R] list: index of the element, that is TRUE

2012-01-16 Thread Marion Wenty
Dear People, I have got the following example for a vector and the index of the TRUE element: Myvector <- c(FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE) which(Myvector) Now I would like to find out the same for a list: Mylist <- list(FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,FALSE,TRUE) ... Does

Re: [R] syntax for reading into R

2012-01-13 Thread Marion Wenty
we haven't had time to create the file again, yet, but thanx also for the great tip about this special mailing list! marion 2012/1/3 Barry Rowlingson > On Tue, Jan 3, 2012 at 10:54 AM, Marion Wenty > wrote: > > hello barry, > > > > thank you very much for your h

Re: [R] syntax for reading into R

2012-01-03 Thread Marion Wenty
hello barry, thank you very much for your help! we managed to do what you said and it basicaly worked - there only is a problem with our file, but we will create the file again and then it should work completely. i will keep you posted how it turned out. thanks again! marion 2012/1/2 Barry Ro

[R] syntax for reading into R

2012-01-02 Thread Marion Wenty
dear users, we have got the following question: we have got a text-file looking like this: ... 387 2012-01-01T15:32:03Z 9 381 2012-01-01T15:32:34Z 9 ... now we would like to create a text file looking like the following, in order to being able to read it into

Re: [R] writing data from several matrices in R into one excel-file with several sheets

2011-11-01 Thread Marion Wenty
="MySheetname") writeWorksheet(wb,MyMatrix,sheet="MySheetname",startRow=1,startCol=1) saveWorkbook(wb) thank you very much for your heltp! marion 2011/9/23 Marion Wenty > hello, > thank you for your help! > I was not successfull using the XLConnect-package. Anyway,

[R] package descr: create weighted cross tabulation

2011-11-01 Thread Marion Wenty
hello, using the package "descr" i created a crosstab e.g.: Table <- crosstab(age,question,weight=pond) "age": being a variable that consists of the surveyed data of the ages of children: the values are "6 years", "7 years" and "8 years". "question": is a variable that consists of the answers of

Re: [R] binding all elements of list (character vectors) to a matrix as rows

2011-10-13 Thread Marion Wenty
hello again, i used the command rbind(Mymatrix, t(as.data.frame(Z))) and it works! thanks very much for your replys! marion 2011/10/11 David Winsemius > > On Oct 11, 2011, at 2:47 AM, Marion Wenty wrote: > > dear r-users, >> >> i have got a problem which i am

[R] binding all elements of list (character vectors) to a matrix as rows

2011-10-11 Thread Marion Wenty
dear r-users, i have got a problem which i am trying to solve: i have got the following commands: Mymatrix <- matrix(1:9,ncol=3) Z <- list("V1"=c("a","",""),"V2"=c("b","",""),"V3"=c("c","",""),"V4"=c("d","","")) Mymatrix <- rbind(Mymatrix,Z[[1]],Z[[2]],Z[[3]],Z[[4]]) now this is working, but i

Re: [R] open source editor for r for beginners

2011-10-03 Thread Marion Wenty
y. > > > > -steve > > > > > > On Tue, Sep 20, 2011 at 9:28 AM, R. Michael Weylandt > > wrote: > > > RStudio > > > > > > > > > Hope this helps, > > > Michael Weylandt > > > > > > On Tue, Sep 20, 2011 at

Re: [R] multiplying list with vector

2011-09-29 Thread Marion Wenty
ply("*", mylist, myvector) > mapply("*", mylist, myvector, SIMPLIFY = FALSE) > > > I hope it helps. > > Best, > Dimitris > > > > > On 9/29/2011 11:43 AM, Marion Wenty wrote: > >> hello everybody, >> >> i have got a question about

[R] multiplying list with vector

2011-09-29 Thread Marion Wenty
hello everybody, i have got a question about lists: i have got the following commands: mylist <- list("v1"=c(1,2,2,1),"v2"=c(2,2,2,1),"v3"=c(1,1,1,1)) myvector <- c(100,1,100) now i would like to multiply each element of the list with the corresponding element of the vector, that is to

Re: [R] creating a vector automatically containing numbers 1, 100, 10000, 1000000, ...

2011-09-27 Thread Marion Wenty
hello barry, thank you very much! i had thought of the seq function but only in regard to normal differences. marion 2011/9/27 Barry Rowlingson > On Tue, Sep 27, 2011 at 9:33 AM, Marion Wenty > wrote: > > hello, > > > > i am looking for a way to get a vecto

[R] creating a vector automatically containing numbers 1, 100, 10000, 1000000, ...

2011-09-27 Thread Marion Wenty
hello, i am looking for a way to get a vector containing the numbers: 1,100,1,100,... each element should have two ceros more than the one before it until the number 1e+200 without using a loop. thank you very much in advance for your help! marion [[alternative HTML version

Re: [R] writing data from several matrices in R into one excel-file with several sheets

2011-09-23 Thread Marion Wenty
L. Snow Ph.D. > Statistical Data Center > Intermountain Healthcare > greg.s...@imail.org > 801.408.8111 > > > > -Original Message- > > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > > project.org] On Behalf Of Marion Wenty > > Sen

[R] open source editor for r for beginners

2011-09-20 Thread Marion Wenty
Hello all, I am looking for an editor for R which has got functions beyond the normal R editor that is included in the program. I had a look at VIM but I think it's difficult if you are just starting programming. Could anyone recommend an editor that is suitable for beginners? Thanks for your h

Re: [R] pasting elements of one character vector together

2011-09-20 Thread Marion Wenty
tmat), collapse=" ") > [1] "1 5 2 6 3 7 4 8" > > apply(testmat, 1, paste, collapse=" ") > [1] "1 5" "2 6" "3 7" "4 8" > > apply(testmat, 2, paste, collapse=" ") > [1] "1 2 3 4" "5 6 7 8&

Re: [R] pasting elements of one character vector together

2011-09-20 Thread Marion Wenty
e to have the elements pasted together BY ROW. Could anybody help me with this? Marion 2011/9/19 Marion Wenty > hello michael and dimitris, > yes, this was it! > now i understand this collapse-argument. > thank you very much. > marion > > > 2011/9/19 Dimitris Rizopoulos &g

Re: [R] switching off commands within character vector

2011-09-20 Thread Marion Wenty
hello, thank you for your answer! yes, now it is working! marion 2011/9/19 Duncan Murdoch > On 11-09-19 7:30 AM, Marion Wenty wrote: > >> Hello, >> >> could someone help me with this problem?: >> >> I would like to create a latex-script inside of a character

Re: [R] pasting elements of one character vector together

2011-09-19 Thread Marion Wenty
elps. > > Best, > Dimitris > > > > > On 9/19/2011 3:58 PM, Marion Wenty wrote: > >> hello, >> >> i am familiar with the paste command with which i can paste for exaple: >> >> object<- "Hello" >> paste(object,"

[R] pasting elements of one character vector together

2011-09-19 Thread Marion Wenty
hello, i am familiar with the paste command with which i can paste for exaple: object <- "Hello" paste(object,"World") now i would like to be able to paste all the elements of the same vector together e.g: object <- c("Hello","World") getting as a result also: "Hello World". Does anyone know

Re: [R] Courses in R

2011-09-19 Thread Marion Wenty
thank you for the adresses, i will have a look at the web-pages. marion 2011/9/15 Mark Sharp > Statistics.com has several. > Mark > > > On 9/15/11 3:46 AM, "Marion Wenty" wrote: > > >Hello, > > > >I have a question concerning courses in R in *V

[R] switching off commands within character vector

2011-09-19 Thread Marion Wenty
Hello, could someone help me with this problem?: I would like to create a latex-script inside of a character vector in order to being able to compilate it within latex in the end. if i try the following commands: l1 <- "Hello world" latexscript <- paste("\c",l1,"\c") ... I get an error message

Re: [R] automatic selection of object without loop

2011-09-19 Thread Marion Wenty
}) > > So what is the problem that you are trying to solve? > > On Fri, Sep 16, 2011 at 8:34 AM, jim holtman wrote: > > did not see the "_l" so changes below: > > > > On Fri, Sep 16, 2011 at 8:33 AM, jim holtman wrote: > >> for (i in names(kind

[R] writing data from several matrices in R into one excel-file with several sheets

2011-09-16 Thread Marion Wenty
hello, does anyone know how I can write several matrices from R into one exel-file using different sheets for the different matrices? thank you very much in advance for your help. Marion [[alternative HTML version deleted]] __ R-help@r-projec

Re: [R] automatic selection of object without loop

2011-09-16 Thread Marion Wenty
hello jim, thank you for your reply. Do you know a solution without having to use a loop? Marion 2011/9/16 jim holtman > for (i in names(kinderrechte)){ >q1 <- kinderrechte[, i] >i 1 <- get(i) > } > > On Fri, Sep 16, 2011 at 4:47 AM, Marion Wenty > wro

[R] automatic selection of object without loop

2011-09-16 Thread Marion Wenty
Hello, does anyone know the solution to this problem: I imported a dataframe from Spss into R and saved it as an object called "kinderrechte". I have got the following command lines: q1 <- kinderrechte[,"q0007_0001"] l1 <- q0007_0001_l now i would like to be able to change the column name in t

[R] Courses in R

2011-09-15 Thread Marion Wenty
Hello, I have a question concerning courses in R in *Vienna, Austria*. Does anyone know where courses in R are offered, that you can do after having attended a course for the basics? Thanks in advance for your help. Marion [[alternative HTML version deleted]] _