Displaying 20 results from an estimated 100 matches similar to: "ggplot2: ordering categorial data"
2009 Aug 10
3
error --- > any idea ?? Kernel: Additional sense: Invalid command operation code
Hi All
My system is CentOS release 4.4 (Final) and for the last few days my system
si getting rebooted ... i really cant find out any reason why ... but on
the messages found in the var/log/ ...here is what i got .
Aug 10 04:31:34 spam2 kernel: FAILED
Aug 10 04:31:34 spam2 kernel: status = 1, message = 00, host = 0, driver =
08
Aug 10 04:31:34 spam2 kernel: Current sd: sense key Illegal Request
2007 Jun 12
1
Cannot get cmusieve to work
Hi,
# I messed with the identities in my MUA and sent the email with a non
registered address, sorry for the incinvenience ##
I'm not able to make cmusieve to work to filter emails. Below is my
configuration.
I'm using a .dovecot-sieve example from the wiki:
require "fileinto";
if exists "X-Spam-Flag" {
? fileinto ".Junk/";
}
I've been following
2007 Dec 14
7
CentOS 5.1 and Xen - mount: could not find filesystem ''/dev/root''
Hi all-
I''m hoping someone can help me with this problem with Xen under CentOS
5.1 (RHEL 5.1) I''m having... This is the Xen package that comes stock
with the distribution, I didn''t compile it from source. I can boot
Domain0 and the hypervisor just fine. I''m trying to bring up a Xen
guest VM and it crashes on boot, with this error:
# xm create -c tcga1
2009 Oct 10
10
clarify 'type', 'executable' & 'path' in 2.0 master.conf?
@2.0's master.conf, there's, e.g.,
service config {
type= config
executable =config
unix_listener {
path = config
mode = 0666
}
}
can someone please explain function/usage for the 'type', 'executable'
& 'path' fields?
and, for any file paths, are the presumed to be _relative_ to the
dovecot executable? in $PATH? can they accept full/absolute
2010 Sep 16
5
DO NOT REPLY [Bug 7683] New: New rsync deletes destination files it shouldn't
https://bugzilla.samba.org/show_bug.cgi?id=7683
Summary: New rsync deletes destination files it shouldn't
Product: rsync
Version: 3.0.7
Platform: x86
OS/Version: Linux
Status: NEW
Severity: critical
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy:
2004 Jun 10
1
Clustering Categorial and Continuous Variables
Hi there fellow R users,
R has many different clustering packages (e.g. mclust,cluster,e1071).
However, can anyone recommend a method to deal with data sets that contain
categorial and continuous variables?
Regards
Wayne
KSS Ltd
Seventh Floor St James's Buildings 79 Oxford Street Manchester M1 6SS England
Company Registration Number 2800886
Tel: +44 (0) 161 228 0040 Fax: +44 (0)
2004 Nov 12
1
How to get mode in case of discrete or categorial data
Dear all,
in a previuos message was asked how get the mode of
continous distribution. Now I'm asking if there an R
function to obtain the mode in case of a discrete
distribution or categorial data. The only way is to
use table():
> x<-rep(1:5,100)
> s<-sample(x,40)
> t<-table(s)
> t
s
1 2 3 4 5
13 10 5 4 8
the mode is value=1
Thanks
Cordially
Vito
=====
2008 Oct 18
1
Categorial Response Questions
Hi All,
I have a data set containing :
pclass: A factor giving the class of the passenger: one of 1st, 2nd, 3rd.
age The age of the passenger in years.
sex Passenger's gender: female or male
age.group Passengers age group, one of 0?9 , 10?19, 20?29, 30?39,
40?49, 50?59, 60?69,
70?79
survived Passenger's survival (1=survived, 0=did not survive)
2010 Jan 29
1
regression with categorial variables
Hi All,
I am working on an example where the electric utility is investigating the
effect of size of household and the type of air conditioning on electricity
consumption. I fit a multiple linear regression
Electricity consumption=size of the house hold + air conditioning type
There are 3 air conditioning types so I modeled them as a dummy variable
Type A
Type B
Type C
Where type A is the
2013 May 07
2
recode categorial vars into binary data
Dear R-List,
I would like to recode categorial variables into binary data, so that all values above median are coded 1 and all values below 0, separating each var into two equally large groups (e.g. good performers = 0 vs. bad performers =1).
I have not succeeded so far in finding a nice solution to do that in R. I thought there might be a better way than ordering each column and recoding the
2013 May 07
2
recode categorial vars into binary data
Dear R-List,
I would like to recode categorial variables into binary data, so that all values above median are coded 1 and all values below 0, separating each var into two equally large groups (e.g. good performers = 0 vs. bad performers =1).
I have not succeeded so far in finding a nice solution to do that in R. I thought there might be a better way than ordering each column and recoding the
2004 Nov 12
4
Mode in case of discrete or categorial data
Thanking John for his suggestion I build this function
which get the mode of both categorial and discrete
data.
Mode<-function(x){t<-table(x)
if (is.numeric(x)) as.numeric(names(t)[t == max(t)])
else (names(t)[t == max(t)])
}
Any other improvement and suggestion will welcome.
Best
Vito
> s
[1] 1 1 6 1 1 7 6 5 6 2 1 4 5 6 6 7 3 5 4 1 7 3 7 3 3
7 7 2 1 4 4 2 7 7 6 6 1 2
[39] 5 1 7 7
2003 Dec 18
1
Help with predict.Arima with external regressor values [Repalced]
Hi all there
I am enjoying R since 2 weeks and I come to my first deadlock, il am trying
to use predict.Arima in the ts package.
I get a "Error in cbind(...) : cannot create a matrix from these types"
-- Start R session -----------------------------------------------------
> fitdiv <- arima(data, c(2, 0, 3), xreg = y ) ; print(fitdiv)
Call:
arima(x = data, order = c(2, 0, 3),
2003 Dec 18
0
Help with predict.Arima with external regressor values
Hi all there
I am enjoying R since 2 weeks and I come to my first deadlock, il am trying
to use predict.Arima in the ts package.
I get a "Error in cbind(...) : cannot create a matrix from these types"
-- Start R session -----------------------------------------------------
> fitdiv <- arima(data, c(2, 0, 3), xreg = y ) ; print(fitdiv)
Call:
arima(x = data, order = c(2, 0, 3),
2009 Feb 08
0
Initial values of the parameters of a garch-Model
Dear all,
I'm using R 2.8.1 under Windows Vista on a dual core 2,4 GhZ with 4 GB
of RAM.
I'm trying to reproduce a result out of "Analysis of Financial Time
Series" by Ruey Tsay.
In R I'm using the fGarch library.
After fitting a ar(3)-garch(1,1)-model
> model<-garchFit(~arma(3,0)+garch(1,1), analyse)
I'm saving the results via
> result<-model
2017 May 10
1
[Bug 12781] New: rsync library
https://bugzilla.samba.org/show_bug.cgi?id=12781
Bug ID: 12781
Summary: rsync library
Product: rsync
Version: 3.1.3
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: ildar at altlinux.ru
2020 Jun 01
1
eval and Calling Frames
I ran into an interesting issue with `evalq` (and also
`eval(quote(...))`):
???? f <- function() {
?????? list(
???????? sys.parent(1),
???????? evalq(sys.parent(1)),
???????? evalq((function() sys.parent(2))()),? # add an anon fun layer
???????? evalq((function() sys.parent(1))())
?????? )
???? }
???? res <- f()
???? str(res)
???? ## List of 4
???? ##? $ : int 0???????? # sys.parent(1)
2011 Sep 09
3
split variable / create categories
Hi,
is there a function or an easy way to convert a variable with continuous values into a categorial variable (with x levels)?
here is what I mean:
I want to transform x:
x <- c(3.2, 1.5, 6.8, 6.9, 8.5, 9.6, 1.1, 0.6)
into a 'categorial'-variable with four levels so that I get:
[1] 2 2 3 3 4 4 1 1
so each element is converted into its rank- value / categorial-value
(in
2006 Jan 05
1
convert matrix to data frame
Hi all,
Suppose I have a 4 x 2 matrix A and I want to select the values in
second column such that the value in first column equals to k.
I gave the colnames as alpha beta, so I was trying to access the info
using
A$beta[A[,1]==k], however, I was told it's not a data frame, I can get
the object by using dollar sign. I tried data.frame(A), but it didn't
work.
Any input
2008 Sep 18
3
Oja median
Hi,
Can we get the code for calculating Oja median for multivariate data
Thanks and Regards
Rahul Agarwal
Analyst
Equities Quantitative Research
UBS_ISC, Hyderabad
On Net: 19 533 6363
[[alternative HTML version deleted]]