Displaying 20 results from an estimated 1100 matches similar to: "Help R"
2012 Mar 07
4
problem with data
Good Afternoon,
?? I have a small problem with the following code.
# The x.sub$Time[[1]] 2006-10-31 19:03:01 EST
# when put in variable star give-me
star<-x.sub$Time[[1]]
print(star)
print(x.sub$Time[[1]])
[1] 1 36 32 -........
do not understand why
--
View this message in context: http://r.789695.n4.nabble.com/problem-with-data-tp4453510p4453510.html
Sent from the R help mailing
2012 Jun 25
4
graph displays
Good Afternoon, I'm trying to create a graph that displays the best way the
following information.
??? For instance organized by bar graph, A, B, C
Source X1000s X600s X500s X250s X100s X50s X10s X5s X3s X1s
1 A 47 63 75 116 125 129 131 131 131 131
2 B 37 64 45 11 25 19 61 131 186 186
3 C 17 62 25 66 12 29 91 171 186
2012 Apr 06
4
Order sapply
Good Afternoon,
I have the following code, but it seems that something must be doing
wrong, because it is giving the results I want.
The idea is to create segments while the value of Commutation is less than
1000.
for example, from the small set of data below
text="
val_user pos v v_star v_end commutation v_source
v_destine
1 1 96-96 1173438391 1173438391 0
2012 Mar 08
8
Copy dataframe for another
I'm trying to copy the results of a dataframe to another within a cycle for
but I am not able to implement the rbind, because give th
d<-Null
df<-NULL
for(r in 2: nrow(x))
{
val_user<-x.name[[r]]
pos<-x.pos[[r]] -4
age <-x.age[[r]]
d<-data.frame(val_user,pos,)
print(d)
}
df<-rbind(df,d)
}
someone can help me solve this
Thanks
2012 Mar 15
1
Subtract Date Between columns
Hello
I have this little dataset, my goal is create one column in the
data.frame with between the diference DataTime and Duration.
I'm using the next code to make do this
TIME_STAMP SESSIONTIME Time TimeStart
1162343932 8320 2006-10-31 19:01:34 2006-10-31 16:42:54
1162343215 592 2006-10-31 19:02:04 2006-10-31 18:52:12
1162341465 11875
2012 Mar 23
1
Read File for Matrix with rownames
Good morning,
Good morning,
I'm trying to read the file into an array, with the following code.
A<- as.matrix(read.csv("~/Desktop/Results/Cfile.csv", header = FALSE,
sep=","))
The content of the file
" ","1","2","3","4"
"1", 484,43,67,54
"2",54,35,67,34
"3",69,76,78,55
2012 Mar 19
2
Save File after order
Hello,
??? I'm trying to write the sorted data in a file of a data.frame, My
question and my problem is that when I record in file adds a new column
row.name, which apparently is the original position in the file.
??? I wanted to write to the file without this column
x<-data.frame(name="x1",Time=20)
x<-rbind(x,data.frame(name="x2",Time=25))
2012 Mar 27
2
drawing the graph with many nodes
Good morning,
I'm trying to draw a graph, and I'm using the following code.
test.matrix<-read.table("~/Desktop/Results/testgephi.csv", header = T,
sep=",")
colnames(test.matrix) <- gsub("X", "", colnames(test.matrix))
#drop first column
drops <- c("")
test.matrix<-test.matrix[,!(names(test.matrix) %in% drops)]
test.matrix
2012 Mar 13
2
Matrix Another table
I have next table
source destine
3 3
7 7
6 6
3 4
4 4
4 3
3 3
3 3
3 3
3 3
3 4
4 4
4 3
3 4
4 3
I'm trying to create an array with the number of occurrences between the
source and destination. id_ap<-levels(factor(df$v_source))
num_AP<-length(levels(factor(df$v_source)))
mat<-matrix(data=NA,nrow=num_AP,ncol=num_AP,
byrow=TRUE,dimnames=list(id_ap,id_ap))
1 2 3 4 5 6 7
2010 Jun 25
2
(no subject)
Hello,
I'm new in using the R, but from what I read is an excellent tool.
Would you like if I could help, I am trying create an array from
reading a text file.
The idea is to read the file, and transform the data in binary
format, for example. The calves of this file format.
A,B,C,D,G
A,C,E,O
F,G
Put this away
a b c d e f g o
1 1 1 1 1 0 0 1 0
2 1 0 1 0 1 0 0 1
3
2012 Mar 26
2
copy the columns based on the code
Hello,
I have two different dataset, and wanted to join the two.
For example I have a table of codes of cities, and other with with the
codes of travels, [source for the destine].
what he wanted was to have a new data.frame with all the information
city<-data.frame(city="Barcelona",cod=1)
city<-rbind(city,data.frame(city="Madrid",cod=2))
2012 Mar 20
2
Unique in DataFrame
Hello,
I have little doubt, and I do not think that the way I solve the problem
is the best way to do it.
The following is a small dataset
x<-data.frame(city="Barcelona",sales=253639)
x<-rbind(x,data.frame(city="Madrid",sales=223455))
x<-rbind(x,data.frame(city="Lisbon",sales=273633))
x<-rbind(x,data.frame(city="Madrid",sales=266535))
2011 Oct 24
2
Plot Legend
Good Afternoon,
I am inexperienced in data visualization R. so I wonder if someone can help
me.
I am using the generic database mtcars.
I would like to change the chart plot, instead of appearing the name of the
medicine, I wanted a symbol in the chart drugX arise for example in a yellow
circle, and so for the rest of the drugs.
I am using the following code.
dataset
Age Sex BP
2000 Jun 23
1
install R-1.1.0 in Suse 6.0
Dear all:
I tried to install R-1.1.0 im my Suse 6.0 linux box.
My first step is:
./configure -with-f2c
after i do > make command and i have the following error message:
############# error message
make[5]: `Makedeps' is up to date.
make[5]: Leaving directory `/root/R-1.1.0/src/unix/X11'
make[5]: Entering directory `/root/R-1.1.0/src/unix/X11'
gcc -I. -I../../../src/include
1998 Apr 02
1
Need Help Copiling Samba on Intergraph
I am trying to compile Samba on an Intergraph 6750 server running Clix.
These are my results....................
S_GIS/usr/gis/doug/samba/samba-1.9.18p3/source>make
Using CFLAGS = -O -DSMBLOGFILE="/usr/local/samba/var/log.smb"
-DNMBLOGFILE="/us
Using LIBS = -lbsd -lc_s
Compiling mem_man/mem_man.c
Compiling rpc_pipes/srvparse.c
Compiling rpc_pipes/smbparse.c
Compiling
1999 Dec 03
0
Help on seting SAMBA on a Intergraph server running CLIX
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello:
I'm trying to share a partition on a Intergraph 6480 running CLIX.
The OS is CLIX version 3.1 (ISS) r.7.6.20.
The server is at a University Lab and all the clients are either
Windows NT or Windows 95.
I tried NFS, but Windows doesn't support it natively and is much
slower/unreliable than SAMBA.
Does SAMBA support this
2012 Mar 07
1
SELECT CASE in RODBC
Hi all,
I have a problem with a variable created by a SELECT CASE statement. See
the code below.
I would like the variable "event" to be a character variabel as I want to
UNION my two SELECTs - and the "event"-variable is a character variable in
the first SELECT result.
I have tried different ways:
* used ' ' in stead of " " around the string I want as the
2009 Feb 04
2
More complex Xen Networking, with VLANs and maybe with VDE 2... but how?!
--- In english ---
Hello!
I am to implement a new architecture of the network in my company but I do
not know right where to start ... need help!
Currently 90% of my servers are virtual machines under Xen. I have many
valid IP networks and all Hypervisors are configured in bridge mode, to
simplify. We have 3 VMWare ESX Hypervisor also in bridge mode.
Some networks are exclusive to certain
2006 Jul 21
2
US Yahoo offers copy-free music
Not directly relevant to Vorbis, but it seems that some people are
coming to realise the true value of DRM:
"Our position is simple: DRM doesn't add any value for the artist,
label (who are selling DRM-free music every day - the Compact Disc),
or consumer, the only people it adds value to are the technology
companies who are interested in locking consumers to a particular
technology
2016 Feb 08
3
help estadística!!!!!
Estimado muchas gracias por la respuesta; pero tengo otra interrogante.
Para segmentar toda la data de clientes los cuales ya los vi bien y no son 15,000 sino 315,000 necesito utilizar el análisis de segmentación de K-medianas o K-modas, porque al ser datos ordinales y dicotómicos (la gran mayoría de variables), la aplicación de segmentar a través de k-medias no tiene mucho sentido. El R tiene