Displaying 5 results from an estimated 5 matches for "happyguy".
Did you mean:
happyguys
2007 Apr 27
5
weight
Hi,
I have the file below called happyguys. It is a subset of data. How do I
apply the weight variable (WTPP) to this file? Can i just multiply each
column (except the first column because it is a record id) by WTPP? If the
answer is yes, how do I multiply one variable name by another?
Thanks,
Nat
PROV REGION GRADE Y_Q10A...
2010 Mar 25
8
Mysterious 15 second startup delay running Wine as www-data
I'm using Wine to run a text mode cgi-bin Win32 program on Ubuntu 9.10. If I run it under my regular account, or via
sudo -H -u www-data ./mycgi.exe
it runs instantly (< 1 sec.)
When run as a cgi-bin program (therefore as www-data user), there is a (measured) 15 second delay and then the program runs in 350ms and the data is returned to the client.
Any idea what might be causing this
2008 Oct 21
3
code works in R desktop but not iin RWeb - How do I modify to get it working in RWeb, please?
Hi,
How are you? I have a quick question.... I have code that works perfectly
with R desktop, but does not work with RWeb. Could you please tell me how
to modify the code below so it will work with RWeb?
#Read in txt file
happyguys<-read.table("c:/test8.txt", header=TRUE, row.names=1)
#Subset the txt file to only include certain values
test<-subset(happyguys, GRADE == 7 & Y_Q10A < 9)
#print the subset file
print(test)
mydata<-test
#Sort the data by province, and then by Y_Q10A
mydataSorted&l...
2007 Apr 30
0
thousand separator (was RE: weight)
...message:
> > > > Incompatible methods ("Ops.data.frame",
> > > > "Ops.factor") for "*"
> > > >
> > > > here is my code:
> > > >
> > > >
> > > > ##reading in the file
> > > > happyguys<-read.table("c:/test4.dat",
> > header=TRUE,
> > > > row.names=1)
> > > >
> > > > ##subset the file based on Select If
> > > >
> > > > test<-subset(happyguys, PROV==48 & GRADE == 7 &
> > > > Y_Q1...
2007 Apr 27
0
like SPSS
...ROV","REGION","GRADE","Y_Q10A","WTPP")
myVariableWidths<-c(5,2,1,2,1,12.4)
mysubset2<-read.fwf(
file=myfile,
width=myVariableWidths,
col.names=myVariableNames,
row.names="PUMFID",
fill=TRUE,
strip.white=TRUE)
print(mysubset2)
happyguys<-subset(mysubset2, PROV==48 & GRADE == 7 & Y_Q10A < 9)
print(happyguys)
data.frame<-happyguys
> df<-data.frame(PROV,REGION,GRADE,Y_Q10A,WTPP)
> df1 <- df[, 1:4] * df[, 5]
> print(df1)
------------------------------------------------------------------------...