Displaying 20 results from an estimated 900 matches similar to: "Counting defined character within String"
2010 Jul 06
3
Selection with changing number of columns
Dear list,
I'm looking for a way to select rows of a data.frame with changing number of columns (constraint) involved.
Assume a data (d) structure like
Var.1 Var.2 Var.3
9 2 1
2 9 5
1 2 1
I know the number of involved columns.
Is there a way to generate the following selection automatically (maybe for loop), so that it makes no difference if there are two or ten columns involved.
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
2001 Nov 18
1
plotting overlapping data points
I am just learning to use R. The data from my current project are
integer-valued. I am able to create scatterplots, but I would like to
have some indication on the plots when multiple data points overlap at
the same x-y coordinate. SPSS uses 'petals', and other packages use
jitter. Are there similar options in R? I have not been able to find
any in the documentation.
Thanks very much,
2009 Jun 11
3
ctc package
Dear R-helpers,
I would like to export hierarchical clusters
e.g. fit <- hclust(d, method="ward") in the newick format
write(hc2Newick(fit),file='hclust.newick')
Searching for a possibility I found this solution in the package ctc
(http://www.bioconductor.org/packages/bioc/html/ctc.html). However,
neither from this site nor via CRAN it is possible to install the
package.
2005 May 09
12
shorewall suddenly dropping all from outside
Hi List,
I read this list for nearly two years and learnt a lot, but now i have
a very strange problem I can''t solve..
I have a firewall machine running Debian, which connects a small
office to the internet via a DSL-line (with pppoe) and which is
running Shorewall. It allows all outbound traffic and accepts pptp,
openvpn and ssh-connections (on a non-standard port) from the
internet.
2011 Jul 12
1
Running R on a Computer Cluster in the Cloud - cloudnumbers.com
Dear R community,
cloudnumbers.com provides researchers and companies with the resources
to perform high performance calculations in the cloud. As
cloudnumbers.com's community manager I may invite you to register and
test R on a computer cluster in the cloud for free:
http://my.cloudnumbers.com/register
Our aim is to change the way of research collaboration is done today by
bringing together
1999 Mar 05
3
RE SMS and SQL
Hi TOm,
I know it this doesn't really help your SMS problem, but it does help SQL.
Oracle just accounced support for Linux and they said they are going to
release a free version of ORACLE for Linux.
Johan
>Date: Wed, 3 Mar 1999 17:02:35 -0500
>From: "Tom Hallewell" <hallewellt@rfa.org>
>To: <samba@samba.org>
>Subject: SMS under samba
>Message-ID: