Displaying 20 results from an estimated 200 matches similar to: "svyhist and svyboxplot"
2012 Oct 05
1
svyhist
Hello,
I was trying to draw histograms of age at death and got the following 2 error messages:
1) Error in tapply(1:NROW(x), list(factor(strata)), function(index) { :
arguments must have same length
2) Error in findInterval(mm[, i], gx) : 'vec' contains NAs
In addition: Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) :
2007 Oct 28
1
tree problem
I am trying to use tree to partition a data set. The data set has 3924
observations. Partitioning seems to work for small subsets of the data,
but when I use the entire data set, no partitioning occurs. The
variables are:
RESP respondent to a survey (0 = not a respondent, 1 =
respondent)
AGE_P Age (continuous)
ORIGIN_I Hispanic Ethnicity (1 = Hispanic, 2 = non-Hispanic)
RACRECI2 Race
2012 Oct 02
2
svyby and make.formula
Hello,
Although my R code for the svymean () and svyquantile () functions works fine, I am stuck with the svyby () and make.formula () functions. I got the following error messages.
- Error: object of type 'closure' is not subsettable # svyby ()
- Error in xx[[1]] : subscript out of bounds # make.formula ()
A reproducible example is appended below.
I would appreciate if
2003 Feb 12
2
Various Errors using Survey Package
Hi,
I have been experimenting with the new Survey package. Specifically, I was
trying to use some of the functions on the public-use survey data from NHIS
(2000 Sample Adult file).
Error 1): The first error I get is when I try to specify the complex survey
design.
nhis.design<-svydesign(ids=~psu, probs=~probs, strata=~strata, data=nhis.df,
check.strata=TRUE)
Error in svydesign(ids =
2008 Aug 25
4
R for Windows GUI closes when I try to read.spss
** High Priority **
I have been trying to read an SPSS file into R using
read.spss ("C:/Documents and Settings/Roderick Harrison/My
Documents/RWORK/ihisdat.sav", use.value.labels = TRUE, to.data.frame =
FALSE, max.value.labels = 500, trim.factor.names = FALSE, trim_values =
TRUE, reencode = NA, use.missings = to.data.frame)
Each time (at least 5 or 6 by now) I get the following
2009 Feb 07
0
Problems with svyhist
I have two problems with svyhist. I hope this is easy, and it may be
that "simple R syntax" will do what I need.
1) I'm able to get a single plot out, but I need to put two
distributions in the same graphic to visually compare them.
2) I get uniform breaks at intervals of 10. I can plot the unweighted
data using MyBreaks with hist as shown in the second code snippet
2003 Feb 19
5
Subpopulations in Complex Surveys
Hi,
is there a way to analyze subpopulations (e.g. women over 50, those who
answered "yes" to a particular question) in a survey using Survey package?
Other packages (e.g. Stata, SUDAAN) do this with a subpopulation option to
identify the subpopulation for which the analysis shoud be done. I did not
see this option in the Survey package. Is there another way to do this?
2001 Aug 27
1
Starcraft, missing folder
hey guys I finally got starcraft working (only took about two hrs, not
bad) anyways I've played though it a bit and I get the first cinematic
but I'm dropped back to X with this message "Starcraft was unable to open
a required file, if the problem persists reinstall blah blah blah" the
thing is it's trying to open PreTerran_1.smk in the smk folder.......but
I don't have
2005 Jul 07
2
PowerCom Smart King SMK-1000
Hi!
I've tried the Fenton Driver for my UPS. The Powercom driver doesn't work.
Here is the results:
Network UPS Tools - UPS driver controller 2.0.0
Network UPS Tools - Fenton UPS driver 1.21 (2.0.0)
Unknown ups - please report this ID string: #PCM SMK-1000 2001
V9.0
Detected Unknown MK-1000 on /dev/ttyS0
Have you any ideas to make it compartible with NUT.
Thanks!
With
2007 Jun 07
1
MITOOLS: Error in eval(expr, envir, enclos) : invalid 'envir' argument
R-users & helpers:
I am using Amelia, mitools and cmprsk to fit cumulative incidence curves
to multiply imputed datasets. The error message that I get
"Error in eval(expr, envir, enclos) : invalid 'envir' argument"
occurs when I try to fit models to the 50 imputed datasets using the
"with.imputationList" function of mitools. The problem seems to occur
2007 Jan 20
1
Fenton UPS driver -- unknown UPS report
G'day. I have a UPS here that is driven by the Fenton UPS driver, and
which requests that I report the ID string to the NUT developers:
root@anu:~# upsdrvctl start smk800
Network UPS Tools - UPS driver controller 2.0.4
Network UPS Tools - Fenton UPS driver 1.22 (2.0.4)
Unknown ups - please report this ID string: #M+H SMK-800 2000 V6.2
Detected Unknown MK-800 on /dev/ttyS0
The
2012 Oct 01
3
merge.zoo returns unmatched dates
Sorry for the lack of reproducible data, but this seems to be a problem inherent to my dataset and I can't figure out where the issue is.
I have several data frames set up as a time series with identical POSIXct date formats. If I keep the original data in data frame format and merge them using base merge- everything is perfect and everyone is happy.
If I transform the data frames to zoo
2012 Nov 14
2
Multiple groups barplot
Hi everyone,
I have a certain number of samples and I want to visualize the groups those samples belong to.
For example, suppose to have three variables, age, sex, and smoker/nonsmoker, and three samples, S1, S2, S3.
S1 is 35, male, nonsmoker
S2 is 24, female, nonsmoker
S3 is 24, female, smoker
at the end I have the following data frame:
S1 S2 S3
age 35 24 30
sex M F F
smk N N S
What I
2009 Jun 19
6
ssh security
Dear All,
I have the following setup running perfectly OK for a long time
CentOS release 5 (Final)
sendmail-8.13.8-2.el5
MailScanner 4.76.25
bind-9.3.4-6.0.3.P1.el5_2
now i jus setup a centos box running BackupPC for backing up my my above
mail server using ssh as per the instructions in backup pc site
i had to enable sshd so i did it and
everthing works perfect and backup works great as per my
2012 Dec 03
2
How to read SPSS file in R
Dear R-users,
I have som troubles with .sav file. How is it possible for us R-users to
read SPSS files. I know that is possible,
I tried the following:
> library(foreign)
> Corp<-read.spss("/Users/kama/Analysis/Corporation.sav", header=TRUE,
> sep=",")
Error in read.spss("/Users/kama/Analysis/Corporation.sav", header = TRUE, :
unused
2004 Apr 13
1
file permissions help!
Hi all!
Ran into a problem and hopefully i can get some help.
OK here is my set up:
- dovecot-0.99.10.4 + MySQL patch.
- Redhat 9
The authentication part works just fine. It gives me the following entry
in the log file:
imap-login: "Apr 12 22:15:10 "Info: Login: USER at DOMAIN.com [127.0.0.1]
But there is a problem with dovecot reading the mbox file (I think). In
the error file I
2002 Nov 05
3
Swat NOT Working Yet!
I am running RedHat 8.0 and Samba 2.2.6. I already provided a proper xinetd file and appointed port 901 in /etc/services. What am I still missing?
-------------- next part --------------
HTML attachment scrubbed and removed
2002 Nov 07
2
Help needed...
Hi Everyone...
I have having problem conecting my linux (laptop) to internet via windows
machine that has two ethernet cards. one connected to cable modem and one
to my laptop. anyone have any idea how to connect them.
Till next time,
Samip
-------------------------------------------------------------------------
Samip K.Banker, B.S, M.S
Assistant System Administrator,
Dept. Of Computer
2002 Dec 26
3
Pentium Samba server?
I have got an old pentium back. It is an Intel 66Mhz processor, 16MB RAM and
a 2 gigabyte harddrive. Could it be used as a dedicated samba server and
what Linux disto would work well? I was thinking of Debian 3 or Slackware.
Can samba act as a 2000 PDC?
2003 Jan 14
1
Windows Files for Unix programs
Before I start with Samba, I would like to confirm the following is possible.