Displaying 20 results from an estimated 1200 matches similar to: "Selection with changing number of columns"
2010 Jul 05
3
Counting defined character within String
Dear list,
I'm looking for a way to count the number of "|" within an object.
The character "|" is used to separated ids.
Assume a data (d) structure like
Var
NA
NA
NA
NA
NA
1
1|2
1|22|45
3
4b|24789
I need to know the maximum number of ids within one object. In this case 3 (1|22|45)
Does anybody know a better way?
Thanks
Mit freundlichen Gr??en
Andreas Kunzler
2008 Sep 11
2
Handling time-series-Data
Dear List,
I ran into some problems with time-series-Data.
Imagine a data-structure where observations (x) of test attendants (i) are made a four times (q) a year (y). The data is orderd the following way:
I y q x
1 2006 1 1
1 2006 3 1
1 2006 4 1
1 2007 1 1
1 2007 2 1
1 2007 3 1
1 2007 4 1
2 2006 1 1
3 2007 1 1
3 2007 2 1
I am looking for a way to count the attendants that at least have
2008 Sep 09
2
exporting tapply objects to csv-files
Dear Everyone,
I try to create a cvs-file with different results form the table function.
Imagine a data-frame with two vectors a and b where b is of the class factor.
I use the tapply function to count a for the different values of b.
tapply(a,b,table)
and I use the table function to have a look of the frequencies as a total
table(a)
I would like to put both results together in one txt or
2008 Jul 08
4
Manipulate Data (with regular expressions)
Dear Everyone,
I try to automatically manipulate the data of a variable (class =
factor) like
x
220
220a
221
221b
B221
Into two variables (class = numeric) like
x y
220 0
220 1
221 0
221 1
221 1
y has to carry the information about the class (number or string) of the
former x-Variable.
I could do it by hand like
x[x == "220a"] <- 220
2008 Jul 22
2
Table orderd by frequencies
Dear List,
I try to order the output of a table by the frequencies of the vector I
am look at.
The object I am looking at is a factor with a lot of levels that were
named only once.
Therefore it would be much easier to order the output by the frequencies
of the levels.
E.g.
> levels(a)
"a" "b" "c" "d"
Preferred outcome:
table(a)
b c a d
10 5 1 1
2008 Jul 16
2
Group level frequencies
Dear List,
I have Multi-level Data
i= Indivitual Level
g= Group Level
var1= First Variable of interest
var2= Second Variable of interest
and I want to count the frequency of "var1" and "var2" on the group
level.
I found a way, but there must be a much simpler way.
data.ml <-
data.frame(i=c(1:8),g=as.factor(c(1,1,1,2,2,3,3,3)),var1=c(3,3,3,4,4,4,4
,4),
2008 Jul 17
5
calculate differences - strange outcome
Dear List,
I ran into some trouble by calculating differences. For me it is
important that differences are either 0 or not.
So I don't understand the outcome of this calculation
865.56-(782.86+0+63.85+18.85+0)
[1] -1.136868e-13
I run R version 2.71 on WinXP
I could solve my problem by using
round()
but I would like to know the reason.
Maybe someone can help me?
Thanx
1999 Jun 11
1
SMBMOUNT on SGI
I would like to use smbmount on a SGI running IRIX 6.5.1m. The distribution
of samba for IRIX does not include the executables smbmount or smbmnt. Is
there a source for these executables?
Regards,
Fred
--------------------------------------
Fred Kunzler Phone: (281) 575-5090
91-1SE-42C Pager: (800) 618-5062
10200 Bellaire Blvd. Fax: (281) 575-5473
Houston, TX 77072 E-mail:
1999 Jul 19
1
Saving MS Word Documents to a Samba Share from NT
I have installed Samba 2.0.4a on SGIs running IRIX 6.5. My PC is running NT
Workstation SP 3. I have a problem saving documents from MS Word 97 SP 1.
If I create a new document and attempt to save it to a Samba share I get the
following error message: Word cannot complete the save due to a file
permission error. (G:\XX\TEST.DOC). A listing of the directory from Unix
shows the following:
2006 Jan 12
3
Using an extension to send a linux command
I am a newbie to asterisk and am trying to send a linux command using
extensions in asterisk, for example when I dial 1111 I want to run the linux
command "/usr/local/bin/br -c -n 1" (obviously without the quotes). If I
SSH into my asterisk box and enter that command, it works, however I can't
seem to get it to work from asterisk. I am running Asterisk@home2.2 (I
know, I am a
2006 Feb 28
0
FW: 7960-tones.xml (Schochet, Wes)
As the thread from the other mailing list he sent this to states, it is
illegal to share the file(s) he is asking for. Below is the thread from the
sccp users mailing list that he sent this to.
<sccp mailing list>
2006/2/28, picciuX
In fact: the one you mention is not a config file; it is part of the
"Locale-Installer for Cisco Call Manager". You need a valid service contract
2006 Jan 24
6
iax provider
Hi
I looking a good IAX service for a *emerging * voip provider.
Better with a test account to try.
Thanks in advance.
roberto
--
Ing. Roberto Pereyra
ContenidosOnline
Servidores BSD, Solaris y Linux
Soporte t?cnico ISPs
Jabber ID: rpereyra@lugmen.org.ar
For reliable and professional DNS, use DNS Made Easy!
http://www.dnsmadeeasy.com/u/14989
-------------- next part
2009 Apr 20
4
graph with 15 combinations
Dear R helpers,
I have a data set with 4 types (W, C, E & S). Now I have values for all
types plus all possible combinations (the order is unimportant): W, C,
WC, E, WE, CE, WCE, S, WS, CS, WCS, ES, WES, CES & WCES. Ideally I would
like to represent everything in one graph and as concise as possible.
Drawing 4 circles and depicting it as overlap just gives me 13 out of
the 15
2009 Aug 04
2
Re ferencing columns and pulling selected data
Please consider the following inputs:
PrsnSerialno<-c(735,1147,2019,4131,4131,4217,4629,4822,4822,5979,5979,6128,6128,7004,7004,
7004,7004,7004,7438,7438,9402,9402,9402,10115,10115,11605,12693,12693,12693)
PrsnAge<-c(59,48,42,24,24,89,60,43,47,57,56,76,76,66,70,14,7,3,62,62,30,10,7,20,21,50,53,44,29)
2004 Apr 07
4
Problems with rlm
Dear all,
When calling rlm with the following data, I get an error. (R v.1.8.1,
WinXP Pro 2002 with service pack 1.)
> d <- na.omit(data.frame(CPRATIO, HEIGHTZ, FAMILYID))
> c <- tapply(d$CPRATIO, d$FAMILYID, mean)
> h <- tapply(d$HEIGHTZ, d$FAMILYID, mean)
> c
1 2 3 6 7 9 10
11
6.000000 2.500000 3.250000
2004 May 18
6
Unix Extensions
I have a Samba 3 server, and a client with Samba 3. The server has a
share for home directories, and the client is trying to mount it, but
after it's mounted, I still can't create any symbolic links. Also, the
GUI login (Red Hat Enterprise default) isn't working, but I think that's
just a symptom of the symbolic and hard links not working.
Any idea why, when I enable unix
2004 May 20
5
Samba 3 + Win2k = Headache
I have a feeling I may have lost focus on the issue in some of my
previous messages... so here's my dilemma.
I have several Windows (2000 and XP) clients, and several Linux (Red Hat
Enterprise 3, 2.4.21 kernel) clients. I've got a couple servers, one is
currently Windows 2000 Server, and one is Linux (same as above, with the
snapshot Samba running). I want to be able to have users log
2004 May 25
2
Strange problem with icons on the desktop
Thanks everyone for helping me get the home directories working over
SMB, especially Ben Ford for his workaround for the Xauth and GDM.
Now I've got a problem that, most likely, nobody's ever noticed
before... or is something specific to me. I've got a Linux client, and a
Samba server, and a Windows 2000 server, both set up EXACTLY the same.
I've got a test user and the home
2010 Apr 21
2
Help: formatting the result of 'cut' function
Dear list,
I would like to format the result of the 'cut' function to perform a subsequent
frequency distribution table (fdt) suitable for publications.
Below an reproducible example:
set.seed(1)
x <- c(rnorm(1e3, mean=10, sd=1), 50, 100)
start <- 0
end <- 110
h <-10
c1 <- cut(x, br=seq(start, end, h), right=TRUE)
levels(c1)
# I get:
# [1] "(0,10]"
2004 May 27
5
Ghost Image + Winbind = Panic
I had a test machine up and running Samba, joining an AD domain, and set
up with winbind... when I ran "getent passwd" it would list all the
local users, and all the domain users. I could also log in as a domain
user without any problem. So, I made an image of the hard drive, and
copied it to 7 other machines. Now, those 7 are having a strange
problem. I changed the names and IP's of