similar to: variable colnames

Displaying 20 results from an estimated 300 matches similar to: "variable colnames"

2006 May 16
1
variable row names
Hy all, I wish to use a variable as rownames for a set of datas. By example : > nom<-"toto" > prenom<-"tutu" > res<-c(1,2) > res<-t(res) > res [,1] [,2] [1,] 1 2 > colnames(res)<-c(nom,prenom) > res toto tutu [1,] 1 2 > nom [1] "toto" > I wish to call the rowname by the
2009 May 08
1
Merging two data frames with 3 common variables makes duplicated rows
I am new to R (ex SAS user) , and I cannot merge two data frames without getting duplicated rows in the results. How to avoid this happening without using the unique() function? 1. First data frame is called "tmv" with 6 variables and 239 rows: > tmv[1:10,] temps nom prenom sexe dist style 1 01:59:36 Cyr Steve H 45 free 2 02:09:55 Gosselin
2013 Jul 24
3
Change values in a dateframe
Hello I have the following problem : The dataframe TEST has multiple lines for a same person because : there are differents values of Nom or differents values of Prenom but the values of Matricule or Sexe or Date.de.naissance are the same. TEST <- structure(list(Matricule = c(66L, 67L, 67L, 68L, 89L, 90L, 90L, 91L, 108L, 108L, 108L), Nom = structure(c(1L, 2L, 2L, 4L, 8L, 5L, 6L, 9L, 3L, 3L,
2013 Sep 10
3
to delete lines by means of a vector
Hi I would like to eliminate a large number of lines of the dataframe df1 The lines to delete are given here by the values of Mat (ex : 2,4,7,10). but I have a large number (300) values of Mat dput(df1) structure(list(Mat = c(1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 10, 10, 10, 11,
2006 Jul 13
3
colors on graph
Hy all, I need to draw something in 2 dimension that has 3 dimension, the choice has been made to use colors to display the third dimension into the graph. Has someone done something like that, i can't figure out how to parametize the colors. Thks for all ideas, COMTE Guillaume [[alternative HTML version deleted]]
2006 Nov 23
2
converting from numeric to Date
Hi all, I have a Date, that has been converted to a number that represent the count of seconds since year 1970, how do i convert it to a date ? Example : >Limite_x<-c(1131408000,1163548800) >is(limite_x) [1] "numeric" "vector" But these numbers are dates, did R provide something that give you the date from this numeric vector ? Thks all. COMTE
2009 Jul 31
1
Install R on Cygwin (correction)
Hello, I should use R on cygwin. I have ever install cygwin and now I try to install R. I have read the R manual and particularly the part : Installation R under Unix but I improved some difficulties for succeed in this task. Actually I have create a R repertory where I have unzipped the file R-2.9.1.tar.gz. In this repertory I do ./configure in cygwin but some errors appear and I don't
2006 Apr 18
5
3D pie
Hi all, Is there a way to draw 3D pie with R (like excel does)? I know how to do it in 2D, just by using pie(something)... I know it isn't the best way to represent data, but people are sometimes more interested by the look and feel than by the accuracy of the results... If there is no way, have you another suggestion ? (i already use dotchart instead of pie) Thks to all of
2006 Jul 20
1
hist or barplot
Hi all, I wish to draw 2 hist (or barplot) on the same graph. I can do it simply by using par(new=TRUE) , but it overlap with the first drawn, how to tell R to put in front of the graph the min value of the two graph in order for it to be seen and don't hide each other. I've been looking at help for barplot or hist but didn't find anything... (or my english is too poor to
2006 Aug 30
1
Datetime
Hi all, I'm getting confused by date handling. I wish to read a date from a file wich is a number of seconds since 1970 (POSIXct). Then i wish to convert this date to a human readable form (POSIXlt) By example : ctDate<-1132963200 #"Wed Aug 30 14:24:37 2006" is(ctDate) [1] "numeric" "vector" ctDate isn't a numeric vector, it is a
2007 Jul 07
2
Unable to install Asterisk Now Beta 6
Hi everybody ! I'm desperately trying to install AsteriskNow Beta 6. I downloaded the iso file (version x86 32 bits) and burned it, then I tried on three different computers (from an old Pentium 4 to a brand new HP DL380 2xDual Core) and each time I got the same error... Shortly after the installation begins, after the probing of hardware component, the installer stops with the following
2009 Apr 05
1
Which model to keep (negative BIC)
Hi, My questions concern the function 'mclustBIC' which compute BIC for a range of clusters of several models on the given data and the other function 'mclustModel' which choose the best model and the best number of cluster accordind to the results of the previous cited function. 1) When trying the following example (see ?mclustModel), I get negative BIC computed by
2006 Jul 03
9
Migrations from Mysql to Oracle. PLS HELP!
Hi all, I''m using Rails/Mysql as development platform. the production server is under Rails/Oracle. Right now, i''m trying to install my application under the production server, the connection to orcale is fine via Rails, but i have a weird problem. example : here is a extract from my db scheme : Table User :_____________ id_user | first_name |
2003 Oct 26
4
linux-xp x509 ipsec connection
hi, I can''t get a freeswan 2.02 ipsec x509 connection at work can somebody help me? ************************************************************************************* global situation ************************************************************************************* the linux gateway (chivas) is a single machine 192.168.1.250 with a local net 192.168.1.0/24, a dyn IP via a DSL
2009 Jul 31
0
Install R on Cygwin
Hello, I should use R on cygwin. I have ever install cygwin and now I try to install R. I have read the R manual and particularly the part : Installation R under Unix but I improved some difficulties for succeed in this task. Actually I have create a R repertory where I have unzipped the file R-2.9.1.tar.gz. In this repertory I do ./configure in cygwin but some errors appear and I don't
2006 Jan 07
1
maptools, write.polylistShape
Dear Roger, I am trying to use the write.polylistShape() function of maptools for the first time and realize that it handles list of polygons of class 'polylist'. However, it seems that no as.polylist() function exist in the package. The question behind that is: in your opinion, which would be the best way to convert a list of matrix of polygon nodes coordinates into an object of
2006 Aug 16
0
Strange behavior with "hist" function filled with breaks and freq attribute
Hy all, I give example code : connexions_jours<-c(1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,6,6,7,7,7,7,7,7,7,7,8,8,8,12,15,19) pas_de_groupe<-1 hist(connexions_jours,col="red",xlab="RĂ©partition du nombre de connexions par jours (sans
2006 Oct 18
0
dev2bitmap handling or else?
Hy all, I wish to get rid of starting X to get graphics, i tryed dev2bitmap and i've being working around without finding good parameters. By example : Dev2bitmap(file="Rplot001.png", type = "png256",width=600/72,height=486/72) par(mar=c(5,2,1,1),xaxs = "i", yaxs = "i",ps=13) I tryed with res=something inside dev2bitmap too and i'm
2011 Mar 18
5
Replace NIS by Active Directory
Hi, I'm looking a wiki or share experience for replace NIS authentication by an existing Active directory Server (W2003). The problem is on the management of id and gid. How to move 1000 actual NIS users to AD ? How to keep the same id and gid for this 1000 users ? What's happen with nfs linux server and acess with gid and/id ? Use the same user/password for linux and Windows clients
2011 Jun 27
1
No USB 3.0 and audio sound with CentOS 5.6
Hi, I installed CentOS 5.6 on a Dell Precision Laptop M4600. This laptop has 2 USB 3 connectors. Nothing work (mouse or usb key...) when I connected something on this 2 ports. And sound not working on this laptop. [root at localhost ~]# lspci 00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09) 00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root