Displaying 20 results from an estimated 9000 matches similar to: "how to find unique pairs of variables?"
2011 Dec 13
2
how to manually enter an double quote as data feed?
I'm doing a text mining project where I have to manually enter a double quote
as an element inside a vector.
I tried
char[10]='"'#where i enclosed the double quote in a pair of single quotes.
But the result is [1] "\"". Somehow a back slash is added automatically.
I also tried to enclose the double quote in a pair of double quotes. That
didn't work either.
2011 Sep 18
2
graph bugs using R on MAC
This is has been bugging me for a long time. Nobody around me seems to
have this problem. I hope someone on the forum could help me.
When I generate a R graph and want to bring the image into Word. I
cannot copy and paste it like many of my classmates can do. The
"Select" in Edit menu have all options grayed out. So what I ended up
doing is to save it as pdf file and bring it
2011 Oct 02
1
difference between createPartition and createfold functions
Hello,
I'm trying to separate my dataset into 4 parts with the 4th one as the
test dataset, and the other three to fit a model.
I've been searching for the difference between these 2 functions in
Caret package, but the most I can get is this--
A series of test/training partitions are created using
createDataPartition while createResample creates one or more bootstrap
samples.
2011 Dec 07
1
map at fips level using multiple variables
Hi, I just started playing with county FIPS feature in maps package
which allows geospatial visualization of variables on US county level.
Pretty cool.
I did some search but couldn't find answer to this question--how can I
map more than 2 variables on US map? For example, you can map by the
breakdown of income or family size. How do you further breakdown based
on the values of both
2010 Mar 12
5
Vertical subtraction in dataframes
Hello all,
I have not been able to find an answer to this problem. I feel like it might
be so simple though that it might not get a response.
Suppose I have a dataframe like the one I have copied below (minus the
'calib' column). I wish to create a column like calib where I am subtracting
the 'Count' when 'stain' is 'none' from all other 'Count' data for
2005 Mar 17
1
ocfs seek-performance
hi list,
i have a little problem with 2-node RAC using OCFS. the application running on this cluster does
heavily index-based accesses. the data volumes are SAN volumes connected by fibrechannel.
the throughput does not exceed 10mb/s, average is 7-8 mb/s. i've used 'iostat -x' and got rkB/s=8000
while %util=100% (device was saturated) from kernel's POV.
i did some
2009 Oct 01
1
3-layer structure and the bonnie rewrite problem
Hello list
First of all: Good work and thanks for GlusterFS!
I'm totally new to GlusterFS, but i like it a lot and think about
migrating my NFS setup completely to GlusterFS. But i ran into some
problems with my chosen structure. Hopefully someone can help out.
The first questions: i ran into some performance issues with a certain
structure/setup and like to know (before i continue testing)
2014 Mar 18
3
Tar Compression issue
I have a file Server CentOS 5.10, its on the internet, so I compress all csv
into one file using (tar -czvf compressed_files.tar.gz *.csv) on this
server so that I can download them as one compressed file to save bandwidth,
Disk space on this server available is 50Gig, so when I copy the files onto
Redhat EL 5.9 and decompress them using (tar -zxvf *.gz) It decompresses
maybe 80% then get error:
2001 Jul 29
1
2.2.19/0.0.7a: bonnie -> VM problems
SYSTEM:
rh6x based system, 2.2.19-6.2.7 rh errata kernel + 0.0.7a patch, I rebuilt rpm
for i686; celeron466, 64MB, PIIX4.
root fs is on software raid1 ext2, 6 additional fs's on software raid1 ext2.
There's a 3rd HD, not mirrored, which is mounted ext3.
EXT3-fs: mounted filesystem with ordered data mode.
I enabled journal with tune2fs -j with unmounted fs.
The 3 HDs are tuned with
2011 May 12
3
assigning creating missing rows and values
I have a dataset where I have missing times (11:00 and 16:00). I would like
the outputs to include the missing time so that the final time vector looks
like "realt" and has the previous time's value. Ex. If meas at time 15:30 is
0.45, then the meas for time 16:00 will also be 0.45.
meas are the measurements and times are the times at which they were taken.
meas<-runif(18)
2011 Oct 11
2
replicate data.frame n times
Hi,
is there a way to replicate a data.frame like you can replicate the entries of a vector (with the repeat-function)?
I want to do this:
x <- data.frame(x, x)
(where x is a data.frame).
but n times.
And it should be as cpu / memory efficient as possible, since n is pretty big in my case.
thanks for any suggestions!
2011 Jul 14
5
Adding rows based on column value
Dear all,
I have one problem and did not find any solution.(I have also attached the problem in text file because sometimes column spacing is not good in mail)
I have a file(file.txt) attached with this mail.I am reading it using this code to make a data frame (file)-
file=read.table("file.txt",fill=T,colClasses = "character",header=T)
file looks like this-
Chr Pos
2011 Jun 28
4
how to print "<=" in plot title
Hi, how can I print "<=" (I mean the symbol of just one character) in the main
title of a plot?
for example:
plot(1:10, main=paste("x <=", x))
where variable x is some number generated on the fly.
Thanks
John
2011 Aug 15
2
Regression - how to deal with past values?
Dear R-users
I need to fit a nonlinear model to a piece of data. The model to be fitted
uses past values of the input and the ouput - something like
y(k) ~ f(y(k-1),y(k-2),u(k),u(k-1) ....) (k is time index). As far as I
know I could use earth(MARS), nnet and etc but I am not sure how to deal
with the past values since most, if not all, examples I saw formula does not
take in account past
2011 May 18
3
R Style Guide -- Was Post-hoc tests in MASS using glm.nb
Thanks Bill. Do you and others think that a link to this guide (or
another)should be included in the Posting Guide and/or R FAQ?
-- Bert
On Tue, May 17, 2011 at 4:07 PM, <Bill.Venables at csiro.au> wrote:
> Amen to all of that, Bert. ?Nicely put. ?The google style guide (not perfect, but a thoughtful contribution on these kinds of issues, has avoiding attach() as its very first line.
2011 Mar 31
2
ANCOVA for linear regressions without intercept
Hello R experts
I have two linear regressions for sexes (Male, Female, Unknown). All have a good correlation between body length (response variable) and head length (explanatory variable). I know it is not recommended, but for a good practical reason (the purpose of study is to find a single conversion factor from head length to body length), the regressions need to go through the origin (0
2011 Sep 15
1
how to identify the value in a scatterplot?
I'm plotting x and y and there are a couple of outliers. I want to
show the value of z for these couple of outliers. Is there an easy way
to do this?
2011 Jul 26
5
Help with boxplot
Hi guys,
I need your help with the boxplot.
I've to create a boxplot starting from a table (.csv) in which there are the
result of a test.
Each column is a question and the rows are the answer of the respondents
(from 0 to 5).
Some answer is missing and has been filled with NA.
the table has been loaded in R with the function read.csv
I created the boxplot with the function boxplot and all
2002 Sep 21
7
Another printing problem...
I'm running samba 2.2.3a-6 under Debian (testing) and I
am having a heck of a time getting Windows 2000 to print
to my printer. I keep getting that "Access denied, unable
to connect" message. At one point I had it so you could
print test pages, but as soon as you tried to print from
an application, it would break. However, that doesn't
even work anymore. I've been reading
2003 Jun 10
5
bug in glm()? (PR#3223)
Full_Name: Bonnie
Version: 1.6.1
OS: Windows
Submission from: (NULL) (160.129.25.106)
glm() seems to converge, even when it shouldn't. I am trying to fit a model
where $converge=FALSE and I am fitting models that do not converge in SAS,
but they seem to converge in R ...
Thank you.