similar to: How to convert Charagter variables into numeric

Displaying 20 results from an estimated 3000 matches similar to: "How to convert Charagter variables into numeric"

2009 Feb 25
2
Linear Discriminant Analysis
Kindly let me know the process to carry out a Linear discriminant analysis...thanks in advance Arup -- View this message in context: http://www.nabble.com/Linear-Discriminant-Analysis-tp22199424p22199424.html Sent from the R help mailing list archive at Nabble.com.
2009 Feb 04
2
How to import HTML and SQL files
I can't import any HTML or SQL files into R..:confused: Please suggest me the packages for these two file types and also let me know the syntax for importing these two type of files. Thank you in advance. Arup -- View this message in context: http://www.nabble.com/How-to-import-HTML-and-SQL-files-tp21830945p21830945.html Sent from the R help mailing list archive at Nabble.com.
2009 Aug 28
3
CHAID in R
Hi..I am trying to run CHAID in R..I have installed the sofyware Party and trying to use the function ctree() to carry out the analysis. but I am getting the following message Error in terms.default(formula, data = data) : no terms component . I am having some Likert scale variable where I have variables like "Overall satisfaction"(Dependent Variable),"Product quality", Brand
2005 Sep 20
4
Active DNS registration on join realm?
Dear Samba members, I am wondering if on joining a realm (with security=ADS), samba 3.x server gets automatically registered with MS Dynamic DNS server. My test with Samba 3.0.14a on linux did not reveal any such capability. But may be because I did not use the correct option? I would appreciate any help. Thanks in advance, -Arup Biswas
2009 Aug 08
2
Factor Analysis in R
Hi I am trying to run Factor Analysis using R...I am using the syntax factanal(m1, factors=3) but it's giving me an message Error in cov.wt(z) : 'x' must contain finite values only ...I am using a data set which is having only numeric variables and have some NA's also in it..What should I do next..Someone please help me out with the syntax..Thanks in advance Cheers Arup --
2014 Mar 24
2
Re: About Guest running Tiny Core Linux
On Mon, Mar 24, 2014 at 08:22:46AM -0400, Arup Raton Roy wrote: > Hi Richard, > > Thanks a lot for your prompt response. I am enumerating the steps that I > followed during the provisioning, if it helps. Thanks ... > 1. These are the commands that I used to create the disk image. > > qemu-img create -f qcow2 base_VM.qcow2 512M > kvm -m 512 -cdrom Core-current.iso -hda
2009 Feb 02
1
problem of importing files into R
I am using R 2.8.1...Sometimes it is happening that I am trying to import some text files into R but it is not working...But sometime it is working..I am using the syntax: mydata = read.table( file.choose(), skip = 1 )..someone please help me..you can also suggest a better syntax for importing data from other sources..Thank you. Arup -- View this message in context:
2014 Mar 22
2
About Guest running Tiny Core Linux
Hi, I am using Tiny Core Linux for the guests running on KVM. Is it possible to use libguestsfs tools for this kind of VMs? For example, VM_TC (the name of the VM provided in libvirt) uses a qcow2 disk image. This disk image is created from iso file of Tiny Core Linux using qemu-img utility. My host is ubuntu 12.04. I have tried to use virt-ls tool but could not succeed and is receiving the
2009 Jul 08
1
bootstrapping error message "Error in t.star[r, ] <- statistic(data, i[r, ], ...) : number of items to replace is not a multiple of replacement length"
Hi, I am trying to run some bootstraps with the boot package. When I run it with 400 replicates it does it ok, but then I need to run the same analysis but with 89, 86, 102 and 106 samples (for four different environments), and then is when I get the error message: > mybootstrap <- boot(Datos, mystat, 2000) Error in t.star[r, ] <- statistic(data, i[r, ], ...) : number of items to
2006 Dec 14
2
604995471 7500 routers / upgrade issue
Hi Benjamin: I think that the following link will give you an idea for what you need to know: http://www.cisco.com/warp/customer/620/roadmap_b.shtml This is for the naming: http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_tech_note09186a0080101cda.shtml In this case 11.1CC goes to 12.0T and 12.0T migrate to 12.1 mainline. Do not you worry you will not loose anything with the new
2009 Feb 26
0
How do I retrieve column and row names after comparing two matrices?
Hello, I have two matrices as shown below: Matrix 1 ID AB1 BC1 CD1 ... name1 1,1 2,1 0,2 ... name2 2,0 1,2 1,2 ... name3 0,2 1,1 2,0 ... name4 2,0 0,2 0,2 ... Matrix 2 ID AB2 BC2 CD2 ... name1 1,1
2009 Feb 03
1
Collapsing panel data
Dear R-helpers, I've been thinking about this for some time, maybe someone can help. I have a fairly large dataset with thousands of firms, call the a, b, c, etc.. such as [,1] [,2] [1,] "A" 0.5 [2,] "" 0.2 [3,] "" 0.3 [4,] "B" 0.1 [5,] "" 0.9 [6,] "C" 0.4 Or to put it differently two vectors such as y
2009 Aug 06
0
K-means clustering with NA
I am running a k-means clustering code in R : mydata_kmeans5 <- kmeans(mydata, centers=5).. But the problem is that the data is having some "NA" in it. So R is showing me a message :Error in switch(nmeth, { : NA/NaN/Inf in foreign function call (arg 1) In addition: Warning messages: 1: In switch(nmeth, { : NAs introduced by coercion 2: In switch(nmeth, { : NAs introduced by
2014 Apr 27
0
blktap-dkms_2.0.93-0.2_amd64.changes ACCEPTED into unstable
Accepted: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 27 Apr 2014 12:10:36 +0200 Source: blktap-dkms Binary: blktap-dkms Architecture: source amd64 Version: 2.0.93-0.2 Distribution: unstable Urgency: medium Maintainer: Debian Xen Team <pkg-xen-devel at lists.alioth.debian.org> Changed-By: Evgeni Golov <evgeni at debian.org> Description: blktap-dkms - Xen
2009 Mar 24
2
Random sampling based on the observations
Hello!I am having a problem with Random sampling in R. I have used a syntax: mydata.sub=sample(mydata,7,replace=FALSE,prob=NULL) which allows me to choose a random sample based on the variables(correct me if I am wrong!). Suppose I have 10 variable and if I use the above mentioned command then it will choose 7 variables out of the 10 randomly. My problem is that I want to have a random sample
1998 Aug 04
35
hi there... I need help to install Samba last release in HP-UX 10,20 and 10.10. I allready run the tar over my samba1_9_18p8_hpux-10_tar and it gave me the following directories: var, bin and lib, the var directory does not have anything, and i can't figure out how to install software. Please send some doc about it. your friend Alvaro
2007 Jan 25
1
X-UID gaps cause Dovecot/IMAP to hang
Hi, When the Dovecot 1.0.rc19 IMAP server encounters X-UID headers with gaps in them, it hangs indefinitely. I've attached a sample mailbox (in mbox format) which repeatably exhibits this behavior. The mbox contains only three messages with the following X-UIDs in order: 774, 785, 787. If I remove the X-UID headers from each message, Dovecot handles the mailbox without any problems. UW-IMAP
2009 Mar 21
2
factor with numeric names
Hi all, I have a pretty basic question about categorical variables but I can't seem to be able to find answer so I am hoping someone here can help. I found that if the factor names are all in numbers, fitting the model in lm would return labels that are not very recognizable. # Example: let's just assume that we want to fit this model fit <- lm(height ~ age + Seed,
2012 Sep 05
2
Recoding categorical gender variable into numeric factors
I currently have a data set in which gender is inputed as "Male" and "Female" , and I'm trying to convert this into "1" and "0". I found a website which reccomended using two commands: data$scode[data$sex=="M"] <- "1" data$scode[data$sex=="F"] <- "2" to convert to numbers, and: data$scode <-
2011 Aug 04
1
Can glmnet handle models with numeric and categorical data?
Dear All, Can the x matrix in the glmnet() function of glmnet package be a data.frame with numeric columns and factor columns? I am asking this because I have a model with both numeric and categorical predictors, which I would like to study with glmnet. I have already tried to use a data.frame, but with no success -- as far as I know, the matrix object can only have data of a single type. Is