Displaying 20 results from an estimated 1000 matches similar to: "table() reading problem"
2011 Mar 16
1
get information out of table() result
I have the following problem:
I have some string with numbers like k. I want to have a table like the
function table() gives. However I am not able to call the first row, the 1,
2, 3, 5, 6 or 9. I tried to do that by a data.frame, but that doesn't seem
to work either. The levels keep bothering me.
This is an example of the code:
k<-c(1,1,1,1,1,3,5,6,2,1,3,9,2,3,1,1,1)
> table(k)
k
1 2
2011 Mar 16
1
table() result issue
Dear reader,
I have the following problem:
I have some string with numbers like k. I want
to have a table like the function table() gives. However I am not able
to call the first row, the 1, 2, 3, 5, 6 or 9. I tried to do that by a
data.frame, but that doesn't seem to work either. The levels keep
bothering me.
This is an example of the code:
2011 Jul 11
1
Ifelse statement
Hello everyone,
I have a (small) issue. I already googled a lot, so I decided to use ifelse
instead of if (){} else{}
All the elements seem to work seperately, but combined in the ifelse
statement, it doesn't seem to work.
#The price function is a function which is normally distributed with only
positive answers
price<-function() {abs(rnorm(1,10,25))}
#Before I use pieceprice in the
2009 Sep 15
3
FreeBSD bug grants local root access (FreeBSD 6.x)
Hi,
Any info on this subject on
http://www.theregister.co.uk/2009/09/14/freebsd_security_bug/
-- Frederique
2013 Jan 12
1
bind tables
Hi Matteo,
You could do this:
dat1<-read.table(text="
year? h? len fre
1994? 5 10.5? 2
1994? 5 14.0? 2
1994? 5 11.5? 1
1994? 9 13.0? 3
1994? 9 11.5? 1
1994? 9 13.5? 5
",sep="",header=TRUE)
res<-do.call(rbind,lapply(split(dat1,dat1$fre),function(x) x[rep(row.names(x),x$fre),1:3]))
row.names(res)<-1:nrow(res)
?res
#?? year h? len
#1? 1994 5 11.5
#2? 1994 9 11.5
#3?
2007 Sep 26
1
strange fsync errors
Hi all,
I'm using dovecot since a few months and it works great.
But a few days ago some coworkers mentioned that they got
errormessages in their Mailapp.
I searched in the logfiles and found this:
Sep 14 12:07:35 Mailserv dovecot: IMAP(eckhard-ma-domain-com):
fsync(/home/eckhard-ma-domain-com/mails/.INBOX.0002-Druckangebote von
Druckereien.0002-schmerk
2004 Jul 09
2
Simple 'frequency' function?
Hi, I have designed the following function to extract count frequencies
from an array of integers. For example...
# Tipical array
x <- cbind(1,1,1,1,1,2,2,2,2,3,3,3,3,4,5,6,7,22)
# Define the frequency function
frequency <-
function(x){
max <- max(x)
j <- c()
for(i in 1:max){
j[i] <- length(x[x==i])
}
return(j)
}
fre <- frequency(x)
plot(fre)
How
2006 Jun 02
2
a question about a simply figure
I think there is a question in R. I donot know the reason.
This is my data about comulative percentage figure. The result is not right.
The first point (no=1,leiji=26.94350) in the plot figure was showen in a
lower location. Why?
Thanks !
> fre
no leiji
1 1 26.94350
2 2 46.86401
3 3 60.59032
4 4 72.17355
5 5 77.85521
6 6 82.05853
7 7 85.56495
8 8 87.64378
9 9
2003 Dec 06
1
(no subject)
I am a french student and I want to make an histogram with R.But I have a
problem: I cant' change the frequencies in percent
and I can't change the number of classes or intervals of my variable.Can
you help me please,in french if it's possible?
My mail is : fhenge at ulp.u-strasbg.fr
Thanks a lot.
HENGE FREDERIQUE
2012 Nov 25
5
bbmle "Warning: optimization did not converge"
I am using the Ben bolker's R package "bbmle" to estimate the parameters of a
binomial mixture distribution via Maximum Likelihood Method. For some data
sets, I got the following warning messages:
*Warning: optimization did not converge (code 1: )
There were 50 or more warnings (use warnings() to see the first 50)*
Also, warnings() results the following:
*In 0:(n - x) : numerical
2004 Jun 29
1
Accounts are getting dsiabled
Hi
I have a problem with samba 3.0.5pre1.
Many of my users are disabled by samba
and I can't find the reason why.
Here is an example of an user disbled by samba:
Unix username: christ
NT username: christ
Account Flags: [DU ]
User SID: S-1-5-21-3371203057-3264423045-2392767973-4030
Primary Group SID: S-1-5-21-3371203057-3264423045-2392767973-1213
2011 Jan 19
3
question about result of loglinear analysis
Hi all:
Here's a question about result of loglinear analysis.
There're 2 factors:area and nation.The raw data is in the attachment.
I fit the saturated model of loglinear with the command:
glm_sat<-glm(fre~area*nation, family=poisson, data=data_Analysis)
After that,I extract the coefficients:
result_sat<-summary(glm_sat)
result_coe<-result_sat$coefficients
I find that all the
2010 Oct 25
2
font.lab and font.axis
Hi all,
In the course of ongoing improvement of plotrix, I was alerted to the
fact that setting, e.g.:
par(font.lab=3, font.axis=3)
only seems to work for "plot" (and maybe other functions), but not for
"axis".
par(font=3)
works for everything (except the title, which is probably specified
separately), but there are probably situations in which someone doesn't
want
2006 May 31
9
Unable to use 'valid users' from Active Directory
I am able to return users and groups using wbinfo -g and -u. Samaba will
even allow users to connect that are in our domain. The problem exist
while trying to narrow down permissions to a share.
[public]
comment = Public Stuff
path = /home/
public = yes
read only = no
valid users = @"UFAD\_IFAS-FRE-USERS_autoGS"
This does not work. It prompts the end user for a
2004 Apr 22
3
fedora core1 and office 2k
Hi guys,
anyone make it works??? i using the latest wine rpm version but only able to make IE run.
I need to run MS office 2k.
Thanks
__________________________________________________________________
Introducing the New Netscape Internet Service.
Only $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet
2006 Feb 25
3
Compaq R1500 UPS and Linux
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
Has anyone gotten it working at all with Linux :) I picked one up for
thiry bucks and would love to monitor it!
Liz
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFD/5fEIACpLcG4dhwRAmeCAJ9+8FGXqKoOlZdkw/KFXb9n0PEemwCdHaoD
NVnv7JjmBAjNsExK6WzAdnA=
=pcPX
- -----END PGP
2009 Aug 27
8
Adding New Column
I added a new column using a migration. Once I updated the
new.html.erb, edit.html.erb, show.html.erb, and the index.html.erb I
brought up my web pages. There was a field to update show. I tried the
update and the it was successful but the update did not show up in any
of the other pages. What did I miss? I am using 2.3.3 of ror.
2004 Mar 12
2
lotus notes 6 not working
hi, my lotus will not work, heres the output from starting wine:
err:module:import_dll No implementation for
nxmlpar.dll.?getSystemId@XmlInputSource@@UAEPBDXZ imported from
L"C:\\Program Files\\lotus\\notes\\nnotesws.dll", setting to 0xdeadbeef
err:module:import_dll No implementation for
nxmlpar.dll.??0XmlInputSource@@QAE@XZ imported from L"C:\\Program
2008 Oct 07
6
https problems
I''m having a problem but don''t know what is causing it so I don''t know
exactly where to post, please bear with me.
I''m trying to set up https access however whenever I go to https://url_for_site
the root route renders but the url is rewritten to http://url_for_site.
The ssl request shows in the apache logs but obviously no further ssl
requests show up.
2006 Sep 06
3
plot axises on both sides of a graph
Usually the y-axis is shown on the left-hand-side of a graph, is it possible
to artifically creat one more y-axis on the right-hand-side in R? What is
the main reference? Thank you in advance.
[[alternative HTML version deleted]]