similar to: why doesn't as.character of this factor create a vector ofcharacters?

Displaying 20 results from an estimated 3000 matches similar to: "why doesn't as.character of this factor create a vector ofcharacters?"

2007 Jul 10
1
why doesn't as.character of this factor create a vector of characters?
I'm trying to figure out why when I use as.character() on one row of a data.frame, I get factor numbers instead of a character vector. Any suggestions? See the following code: a<-c("Abraham","Jonah","Moses") b<-c("Sarah","Hannah","Mary") c<-c("Billy","Joe","Bob")
2002 Mar 20
2
include exclude help please.
hi. I know this is a big topic on the list, please forgive me. rsync -avv --include "/film/jonah/**/sourceimages/*.tif" --exclude "*" /film /tmp i'm trying to copy all *.tif 's that are in a */sourceimages/ directory and that are only under /film/jonah. i would like to copy the directory tree and tif files to /tmp i was able to copy ever tif with: rsync -a
2008 Oct 22
1
forward stepwise regression using Mallows Cp
So I recognize that: 1. many people hate forward stepwise regression (i've read the archives)--but I need it 2. step() or stepAIC are two ways to get a stepwise regression in R But here's the thing: I can't seem to figure out how to specify that I want the criteria to be Mallow's Cp (and then to subsequently tell me what the Cp stat is). I know it has something to do with
2005 Jul 28
3
chess
hi I''m making a chess board app in Rails using the scriptaculous drag and drop stuff. A couple of questions, I am having trouble putting the chess pieces in the correct place - simply it seems that when i make somethign draggable it changes its positioning to relative - not so good for putting pieces on a board. Why is this ? Also i can''t see an OnDrop callback in the API
2011 Aug 15
1
constraining betas with mlogit package
I have been using the mlogit package but can't seem to figure out how to make constraints on the beta coefficients. For example, I would like to force that two of my beta's are equal to each other. Thanks in advance. Jonah
2006 Oct 11
2
out of memory... doing heavy IO on ocfs2 is wasting (low) memory?!
What's the status on this? I've researched Bugzilla, SVN, and the lists and haven't seen any mention of it yet being fixed as of yet. Kurt or Sunil, do you have a patch available that I could try? Otherwise, what's the Bugzilla ID so I can follow it's progress. Any help you can give would be appreciated. Thanks! -Jonah
2004 Aug 30
2
FW: Observations
Hi Sunil, I'm looking into this thread now. Does this mean we cannot use FTP option to copy OCFS files to ext3? If so, is there any ftp version available for OCFS, similar to cp --o_direct? Also, is there any version of sync available for OCFS (in normal FS, sync does a refresh of FS from kernel cache so that the FS is consistent). By this can we say that the FS shard by both nodes is
2005 Jul 23
1
flicker with visual effects
hi there - I find i get a flicker on the penultimate frame of the effect in Firefox (1.04 and 1.06) i don''t get the same behaviour with IE. is this simply a limitation of the browser or am i doing something wrong ? cheers jonah -------------- next part -------------- An HTML attachment was scrubbed... URL:
2004 Oct 20
1
i-node showing 100 % used whereas the partitionsare empty
Hi Sunil, I had filed a bug and saw your response stating that it would be fixed in version 14. In the meanwhile , what we want to know is whether this bug is a minor bug and can be ignored for now. Does reporting 100% inodes cause any problem for the OCFS file system or can we ignore this bug and go into production. Also can you tell us by when version 14 would be released. R'gds
2006 Jun 13
3
Multiple lag.plots per page
Hi, I'm trying to plot several lag.plots on a page, however the second plot replaces the first one (although it only takes up the upper half as it should): par(mfrow=c(2,1)) a<-sin(1:100) b<-cos(1:100) lag.plot(a) lag.plot(b) What's the trick to this? I'm using R 2.2.1 (2005-12-20 r36812) on Ubuntu Linux. Thanks, Gad -- Gad Abraham Department of Mathematics and
2011 Apr 25
2
Problem installing XML in Ubuntu 10.10
Hello folks, Here's is info on what system I'm working on. > sessionInfo() R version 2.13.0 (2011-04-13) Platform: i686-pc-linux-gnu (32-bit) I'm trying to install the XML package. However, I end up with the following error message. > install.packages("XML") .... checking for xml2-config... no Cannot find xml2-config ERROR: configuration failed for package ‘XML’ *
2015 Jan 25
2
Regarding the Learning to Rank project
Hi, My name is Abraham and I am a 2nd year college student from Bangalore(India). I was going through your list of project ideas, and the Learning to Rank project really interested me . Unfortunately I don't really have any real experience with "Information Retrieval" and only know the basics of "Machine Learning". I was hoping that somebody could maybe point me in the
2006 Jun 23
2
Time series labeling with Zoo
Hi, I'm using zoo because it can automatically label the months of a time series composed of daily observations. This works well for certain time series lengths, but not for others, e.g.: While: > library(zoo) > plot(zoo(runif(10), as.Date("2005-06-01") + 0:50)) Shows up the months and day of month, > plot(zoo(runif(10), as.Date("2005-06-01") + 0:380))
2007 Mar 16
3
ARIMA standard error
Hi, Can anyone explain how the standard error in arima() is calculated? Also, how can I extract it from the Arima object? I don't see it in there. > x <- rnorm(1000) > a <- arima(x, order = c(4, 0, 0)) > a Call: arima(x = x, order = c(4, 0, 0)) Coefficients: ar1 ar2 ar3 ar4 intercept -0.0451 0.0448 0.0139 -0.0688 0.0010 s.e.
2016 Nov 25
3
Can't get NUT slave to connect to master
Hi thanks Roger. Well I'm just using Ubuntu Server 16.04 LTS I only ran that command as a few guides say that's how to establish if a daemon is compiled with tcp wrappers: https://www.cyberciti.biz/faq/tcp-wrappers-hosts-allow-deny-tutorial/ I haven't really used TCP wrappers before so I'm not even sure if my hosts.allow entries are correct: upsd : ipaddressofclientgoeshere ups
2007 Oct 16
2
survreg's algorithm
Hi, I'm using survreg() from the survival package for parametric survival regression (modelling inter-arrival times of patients to a waiting list as exponentially distributed, with various regressors such as queue size and season). Does anyone know which algorithm survreg() uses for this? Thanks, Gad -- Gad Abraham Department of Mathematics and Statistics The University of Melbourne
2004 May 31
2
shaping
Hi! Is there any way to do just plain vanilla TBF (Token Buck Filter) type shaping on a group of ips/networks, not an entire interface. Currently the only way I know how to shape in Linux is to use HTB or CBQ, but both of these need a total rate and then you need to subdivide that into classes. That is not what I want. All I want is Cisco generic traffic shaping style shaping (or similar to how
2011 Dec 15
1
Reordering a numeric variable
I'm running a linear model in R using the car package. I have a variable education, which i have recoded and regrouped to my wishes. However, R seems to place each element of that variable in alphabetical order. When I am running the model, don't I need the model order from lowest to highest to make an inference that a one unit change in one variable produced a one unit change in
2016 Nov 24
2
Can't get NUT slave to connect to master
Hi thanks for the reply. I installed Nut via apt-get, not from source (which I'd rather stick with if possible just for ease of security updates etc) - so I'm not too sure if TCP wrappers are there or available... This could be the problem, am I still able to add the wrappers in with prebuilt packages? Thanks very much once again. :) On 24 November 2016 at 21:51, Roger Price <roger
2012 Aug 02
1
Naive Bayes in R
I'm developing a naive bayes in R. I have the following data and am trying to predict on returned (class). dat = data.frame(home=c(0,1,1,0,0), gender=c("M","M","F","M","F"), returned=c(0,0,1,1,0)) str(dat) dat$home <- as.factor(dat$home) dat$returned <- as.factor(dat$returned) library(e1071) m <- naiveBayes(returned ~ ., dat) m