Displaying 20 results from an estimated 1100 matches similar to: "Odd behaviour of step (and stepAIC)?"
2012 Dec 08
4
read.table()
Hi List,
I have spent more than 30 minutes, but failed to read in this file using the read.table() function. I could not figure out how to fix the following error.
Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 6 elements
Any help would be be appreciated.
Thanks,
Pradip Muhuri
####### below is the reproducible example
xd1 <-
2005 May 26
1
Survey and Stratification
Dear WizaRds,
Working through sampling theory, I tried to comprehend the concept of
stratification and apply it with Survey to a small example. My question
is more of theoretic nature, so I apologize if this does not fully fit
this board's intention, but I have come to a complete stop in my efforts
and need an expert to help me along. Please help:
age<-matrix(c(rep(1,5), rep(2,3),
2006 Jun 18
1
Post Stratification
Dear WizaRds,
having met some of you in person in Vienna, I think even more fondly
of this community and hope to continue on this route. It was great
talking with you and learning from you. Thank you. I am trying to work
through an artificial example in post stratification. This is my dataset:
library(survey)
age <- data.frame(id=1:8, stratum=rep(
2005 Jul 07
1
rsync 2.6.4 - directory always updated
Hi,
I'm trying to figure out why when I do an rsync (Solaris, version
2.6.4 on both sides) from a site on the West Coast of the US to a site
on the East coast, I keep getting directories updated when I use the
command like this:
# rsync -ar -v -v -i -O --force --delete --exclude=.snapshot --stats \
src:/sysic/lib/freedomlib_V100/ /sysic/lib/freedomlib_V100/
And I get output like this,
2007 May 15
3
qr.solve and lm
Dear R experts,
I have a Matlab code which I am translating to R in order to examine and
enhance it.
First of all, I need to reproduce in R the results which were already
obtained in Matlab (to make sure that everything is correct).
There are some matrix manipulations and '\' operation among them in the
code.
I have the following data frame
> ABS.df
Pro syn
1998 Feb 27
1
R-beta: is there a way to get rid of loop?
Here is a programming question. The code I am using is quite slow and I
was wondering if there is a way to get rid of the for loop.
I am dealing with "interaction" in 2x2 table, and am using Edwards's G_I
(Likelihood, p. 194).
I label the cells in the table as follows
stim response
"y" "n" total
--------------------------------
y hit miss nsignal
2009 Jul 02
1
Quantitative Risk Management by McNeil
Dear Specialists in R,
May be somebody has experiment in using pakage for the book Quantitative
Risk Management by McNeil?
This package is writen in R.
I have run this package for fitting the data to Nornal Inverse Gaussian
distribution and fased with following problem.
> Return<-read.csv("data.csv")
> Transpose<-t(Return)
> fit.NH(Transpose, case="NIG",
2007 Sep 06
3
Survey package
Good afternoon!
I'm trying to use the Survey package for a stratified sample which has 4 criteria on which the stratification is based. I would like to get the corrected weights and for every element i get a weight of 1
E.g: tipping
design <- svydesign (id=~1, strata= ~regiune + size_loc + age_rec_hhh + size_hh, data= tabel)
and then weights(design)
gives
2016 Nov 17
2
problem with normalizePath()
The packages "readxl" and "haven" (and possibly others) no longer access files on shared network drives. The problem appears to be in the normalizePath() function. The file can be read from a local drive or by functions that don't call normalizePath(). The error thrown is
Error: path[1]="\\Hzndhhsvf2/data/OCPH/EPI/BHSDM/Group/17.xls": The system cannot find the
2016 Nov 18
2
problem with normalizePath()
>>>>> Evan Cortens <ecortens at mtroyal.ca>
>>>>> on Thu, 17 Nov 2016 15:51:03 -0700 writes:
> I wonder if this could be related to the issue that I
> submitted to bugzilla about two months ago? (
> https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17159)
> That is to say, could it be that it's treating the first
>
2011 Jul 16
2
expression() and axis labels
Hi everyone!
I tried to look up in the previous topics whether there was something
similar to my question but I think there's nothing corresponding...
Anyway! Here is my problem:
I have a plot (qplot()) in which I want to insert axis labels with the
following text:
kg NH4+ N-equiv. * ha-1 yr-1 (well... 4 smaller and down and + as a power
(the same for the -1) but I am sure you understood
2008 Feb 27
2
Prevent drag and drop within Samba shares
Hello,
Is there a parameter in smb.conf that prevent users to use drag and drop
within Samba shares?
I know this is a Winedow$ function, but some users (hum, hum) use Explorer
to open their files and
accidentally they drag and drop sometimes a directory in the root of the
share to another directory in the root of the share.
My samba server is member of a native W2k3 server Active Directory
2003 Jan 10
7
HTB and ARP
Hi,
I discover recently that the arp traffic is managed like any other flow.
So you get hang after a moment if you don''t use a default class.
Is the any means to avoid this ? Not to have a default class is a way to
filter traffic ...
One would be to managed to class ARP request with tc but I don''t know if
it is possible.
Thanks in advance,
--
Éric Leblond
courriel :
2013 Dec 19
4
Why I get this message " You have new mail in /var/spool/mail/root " ?
Hi,
Why I get this message " You have new mail in /var/spool/mail/root " in CentOs?
My queries are the following -
1. Why this is generated ?
2. How to disable this ?
3. Is this system generated ?
4. Is this message gain any importance ?
Thanks,
Norah Jones
2011 Aug 29
1
MuMIn Problem getting adjusted Confidence intervals
Hello R users
I'm using MuMIn but for some reason I'm not getting the adjusted confidence
interval and uncoditional SE whe I use model.avg().
I took into consideration the steps provided by Grueber et al (2011)
Multimodel inference in ecology and evolution: challenges and solutions in
JEB.
I created a global model to see if malaria prevalence (binomial
distribution) is related to any
2005 Sep 07
1
Adding new users, changing admin pword, etc
Hello,
I've just begun a new job and have inherited a Samba server that I'm VERY
MUCH not familiar with. Using the instructions I was left, I am attempting
to add a new student:
login as: root
root@10.0.0.160's password:
Last login: Tue Sep 6 08:57:37 2005 from 10.0.12.18
[root@localhost ~]# cd /opt/IDEALX/sbin
[root@localhost sbin]# ./smbldap-useradd cbutts2011
[root@localhost
2007 Nov 21
1
Load Balancing with secondary tables (not main as in the howto)
Hello,
We have 3 DSL connections connected to eth3 and another interface with
a dedicated link in eth0 (main table)
We want to balance selected traffic (using fwmark and iptables) through our
3 DSL connections in a secondary table named DSL (without using the
dedicated link in eth0), but the next command is not accepted, and gives us
the following error:
# ip route add default
2002 Jun 08
2
New qdisc path, try it (what is the problem)
hello,
this is my new qdisc patch, when i recompile the
kernel with this patch i dn''nt succeed please look at
it and if there are any mistakes plesease send me a
mail
thanks in advance
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
2016 Nov 30
1
problem with normalizePath()
I found this as well. At our institution, our home directories are on
network shares that are mapped to local drives. The default, it appears, is
to set the location for libraries (etc) to the network share name
(//computer//share/director/a/b/user) rather than the local drive mapping
(H:/). Given the issue with dir.create(), this means it's impossible to
install packages (since it tries to
2012 Dec 03
2
Excluding all missing values with dcast ("reshape2" package)
Hello--I'm doing a simple crosstab using dcast:
rawfreq <- dcast(nh11brfs, race3~CHCCOPD, length)
with the results
race3 Yes No NA
1 White non-Hispanic 446 5473 21
2 Other non-Hispanic 29 211 0
3 Hispanic 6 81 1
4 <NA> 10 83 1
How would I modify this call to exclude all missing values; that is, to
obtain
race3