similar to: How to assign text string as object?

Displaying 14 results from an estimated 14 matches similar to: "How to assign text string as object?"

2007 Jul 18
6
Classification
Hi, I am also a quite new user of R and would like to ask you for help: I have a data frame where all columns are numeric variables. My aim is to convert one columnt in factors. Example: MD 0.2 0.1 0.8 0.3 0.7 0.6 0.01 0.2 0.5 1 1 I want to make classes: 0-0.2 A 0.21-0.4 B 0.41-0.6 C ..... and so on So after classification I wil get: MD A A D B . . . and so on Please could you give an advice
2007 Aug 23
7
Histogram
Hello, I wanted to create a histogram, but somehow I got stuck... The interval limits are: x = 1, 2, 3, 3.5, 4.5, 5, 5.5 The interval widths are therefore: 1, 1, 0.5, 1, 0.5, 0.5 Nothing I tried worked... Can anyone help me please? Thanks Tobias -- View this message in context: http://www.nabble.com/Histogram-tf4315900.html#a12288850 Sent from the R help mailing list archive at Nabble.com.
2007 Jul 22
4
using R for a reaction-time experiment
I want to use R to run a reaction-time experiment: Something appears on the screen, I respond by typing something (one keystroke), the system measures the speed of my response. R would be great for this if only I didn't have to hit Enter to enter that keystroke. I am doing such experiments now but they require two actions per trial: hit keystroke, hit Enter. Is there some way that R can be
2007 Aug 28
1
FW: How to fit an linear model withou intercept
Hi Mark, I don't know wether you recived a sufficient reply or not, so here are my comments to your problem. Supressing the constant term in a regression model will probably lead to a violation of the classical assumptions for this model. From the OLS normal equations (in matrix notation) (1) (X'X)b=X'y and the definition of the OLS residuals (2) e = y-Xb you get - by
2008 Jan 23
2
HA software advice
We are in need of some very basic software that will give us the ability to swing an ip address from one host to another during controlled maintenance or host failure. For now the IP address will be the only resource that is shared and there will never be a need for shared storage. Eventually we may want to monitor processes for health (probably just read in pid file) and it would be great if
2009 Jun 25
1
logical volume over NFS permissions problem
Hi all, i've problem with mounting logical volumes over NFS. On NFS server, i have following logical volume [root at nfs_server ~]# lvdisplay --- Logical volume --- LV Name /dev/escience/vv_25 VGnfs_servernfs_servernfs_servernfs_servernfs_server escience LV UUID iMhNq7-iC7L-VTDO-Xcwv-a6yv-sEAD-EZWASV LV Write Access read/write LV Status
2007 Aug 30
1
strange chgrp behavior
Greetings, i had a following problem, which on one side i have already solved, but on other side i don't thing it should behave this way and wish somebody to tell if it is feature or bug ;-) [root at machine home]# chown user user/ [root at machine home]# ls -ld /home/user drwxr-xr-x 66 user staff 4096 /home/user [root at machine home]# chgrp -R staff user/ [root at machine home]# ls -ld
2007 Aug 21
1
GFS availability in Centos5
Hi, does Centos-5 support the GFS filesystem and the RedHat cluster suite? I did not find anything in the FAQs. Regards Joachim Backes <joachim.backes at rhrk.uni-kl.de> University of Kaiserslautern,Computer Center [RHRK], Systems and Operations, High Performance Computing, D-67653 Kaiserslautern, PO Box 3049, Germany -------------------------------------------------- Phone:
1997 Oct 17
2
R-alpha: bug in svd
I use R Version 0.60 Alpha (September 18, 1997) on a Linux Pentium (Debian 1.3) and on a Sparc-Sun-Solaris 2.5.=20 R> svd(matrix(1:16,4,4)) =09yields on both machines Error: error 4 in dsvdc R> svd(matrix(1:20,4,5)) =09gives a result on the Linux computer $d [1] 0 0 0 NA $u [,1] [,2] [,3] [,4] [1,] 1 0 0 0 [2,] 0 1 0 0 [3,] 0 0 1 0 [4,] 0
2007 Oct 09
4
Directory index forbidden by rule: /var/www/html/
I'm looking to troubleshoot this error when I run "tail /etc/httpd/logs/error_log" [Tue Oct 09 07:22:59 2007] [error] [client 127.0.0.1] Directory index forbidden by rule: /var/www/html/ (I get this when I run Nagios' "./check_http -H 127.0.0.1".) All I did was install CentOS and then modify httpd.conf to include "ServerName 192.168.1.10:80" and also
2003 Sep 19
4
extracting columns with NA's
Hi All, How do I can delete from a matrix (or array) only those columns which have all their values set to NA? Cheers Antonio Rodriguez ---
2009 Oct 16
2
Matrixes as data
Hola! I am working on a problem where data points are (square) matrices. Is there a way to make a "vector" of matrices, such that it can be stored in a data.frame? Can that be done with S3? or do I have to learn S4 objects & methods? Kjetil
2006 Jul 28
2
mirror vector?
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt. Name: nicht verf?gbar URL: https://stat.ethz.ch/pipermail/r-help/attachments/20060728/3f67aa27/attachment.pl
2013 Feb 16
8
Unir varias columnas en una sola
Buenas a todos, relato directamente mi problema. Estoy preparando unos datos para ingresarlos en otro programa que requiere una columna de ID y el resto de la información toda seguida sin espacios. El echo es que yo tengo la información separada en columnas, por ejemplo: ID col2 col3 col4 col5 etc. y precisaría dejarla de la siguiente forma: ID col2col3col4col5 etc. Para luego escribir a