Displaying 20 results from an estimated 3000 matches similar to: "Reorganizing rows and columns"
2011 Sep 26
2
merger two 3-d scatter plot
Dear R groups:
I have the data as follows, I want to plot the "Rank1 ~ obs30*Cases" and
"Rank2 ~ obs30*Cases" on the same plot as one 3-D scatter plot, how to do
that? Any help is highly appreciated.
ID obs30 Cases RANK1 RANK2
1 0.03175 63 82 81
2 0.00000 34 1 34
3 0.00000 36 2 41
4 0.00000 54 3 26
5 0.00000 22 4 42
6 0.00746 134 39 32
7 0.00000 2 5 53
8 0.01190 168 46 31
2006 Sep 19
2
looking for some functions to analyze a data set.
Hi R-users
I have a data set. There are 10 products and the numbers of people who
ranked the products.
The format of the data set is
productID rank1 rank2 rank3 rank4 rank5 rank6 rank7 rank8 rank9 rank10
-------------------------------------------------------------------------------------------------------
1 10
2 3
3 6
4 2
5
2010 Feb 22
2
Siegel-Tukey test for equal variability (code)
Hi, I recently ran into the problem that I needed a Siegel-Tukey test for
equal variability based on ranks. Maybe there is a package that has it
implemented, but I could not find it. So I programmed an R function to do
it. The Siegel-Tukey test requires to recode the ranks so that they express
variability rather than ascending order. This is essentially what the code
further below does. After the
2012 Apr 22
1
Transform dataframe
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120422/bb638d28/attachment.pl>
2009 Nov 04
0
Correlation of ranks of labels?
Hi,
I have two ranks of labels (strings) representing user preferences of colors.
For instance, here is a simple example with 4 preferences for each user:
> rank1
[1] "red" "blue" "green" "black"
> rank2
[1] "white" "gray" "black" "blue"
How can I compute Kendall's Tau for this scenario?
Thanks in
2015 Oct 08
3
rank(, ties.method="last")
Hi,
I ran into a problem where I actually need rank(, ties.method="last"). It would
be great to have this feature in base and it's also simple to get (see below).
Thanks & cheers,
Marius
rank2 <- function (x, na.last = TRUE, ties.method = c("average",
"first", "last", # new "last"
"random", "max",
2015 Oct 21
2
rank(, ties.method="last")
Marius Hofert-4------------------------------
> Den 2015-10-09 kl. 12:14, skrev Martin Maechler:
> I think so: the code above doesn't seem to do the right thing. Consider
> the following example:
>
> > x <- c(1, 1, 2, 3)
> > rank2(x, ties.method = "last")
> [1] 1 2 4 3
>
> That doesn't look right to me -- I had expected
>
> >
2012 Jun 01
3
Add rank column to data frame as in SQL...
Hopefully this is an easy problem...
I'm trying to add a partitioned rank column to a data frame where the
rank is calculated separately across a partition by categories, the
way you could easily do in SQL. I found this solution in the archives
that looked like it might work:
http://tolstoy.newcastle.edu.au/R/e11/help/10/09/8675.html
The example has a data frame with several car companies,
2003 Dec 10
40
DocBook XML conversion progress
Everyone,
Progress was slow today. I started out well, but then I ran into
Documentation.htm. Progress slowed considerably, as I analyzed the
document structure. I''m up to /etc/shorewall/hosts Configuration. I hope
to finish Documentation.xml by tomorrow evening.
Converted documents:
6to4.xml
CorpNetwork.xml
FAQ.xml
Please post feedback, if you see any problems with the converted
2003 Dec 04
31
Shorewall Documentation Updates, Request for Input
Hello,
I have the go ahead to fix documentation. For starters I will clean all
extraneous crap from the markup. Then fix any errors and typos.
If anyone sees any gramatical errors or typos or needed clarifications or
expansions or whatever, please post them here.
Or additional FAQ entries, etc, all will be considered.
I hope to keep most of this conversation on the shorewall-devel list.
Any
2003 Dec 18
5
support.htm
I''ll take this one next.
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net
2003 Dec 14
22
White space being removed from "Programlisting" elements
Good Morning Mike,
I''m finding that when I load a document, XXE is blindly removing all
"superfluous" white space from "programlisting" elements. This of course is
leading to a real mess (check out the FAQ on the web site :-( ).
What can I do to avoid this?
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \
2003 Dec 26
13
Remaining .htm? files
Of the remaining HTML files in the Shorewall-docs/ project, the only ones
that I want to convert to HTML are:
standalone.htm
two-interface.htm
three-interface.htm
Paul -- while file(s) are you working on?
-Tom
--
Tom Eastep \ Nothing is foolproof to a sufficiently talented fool
Shoreline, \ http://shorewall.net
Washington USA \ teastep@shorewall.net
2009 May 01
1
bridge to route mode
I made the necessary changes in xend-config.sxp, network-route and guest
config files to switch over to routing mode (as suggested in "Running Xen"
book). I created guest VMs and I restarted xend. But when I checked
ifconfig, but it still shows me the bridge configuration. Can anyone tell me
what I am missing here??
Thanks & Regards,
Siddharth Wagh
MS, Electrical & Computer
2006 Apr 14
0
Calling variables dynamically [Broadcast]
1. The FAQ entry advise you to use a list, instead of using assign() in a
loop. Have you considered that?
2. See ?get.
Andy
From: kewley at eden.rutgers.edu
>
> I've looked in the online documentation for this, but have
> been unable to find an answer. I can name variables
> dynamically, but I cannot call them dynamically. Either a
> direct answer or a reference to an
2003 Dec 07
27
Re: Shorewall-devel Digest, Vol 11, Issue 4
Hiya,
> Ok with me -- if I get too frustrated with DocBook, I''ll just start
> editing the HTML again.
>
> -Tom
>
Well the fact that VIM is supported by Docbook is a plus .. But I still
think the Wiki idea is well .. Lets get the doc at a CVS and Docbook
stage .. Walking before running .. plz plz ..
Francesca
PS: I have thrown Windoze out the Window here (Pardon The
2011 Jan 18
1
Reorganizing Data Frame
Hi I need some help trying to restructure a data frame:
I have:
food transaction quantity
pizza BUY 5
pizza SELL 3
apple BUY 2
orange SELL 1
pizza BUY 2
And the data frame I want to make is:
food BUY SELL
pizza 7 3
apple 2 0
2011 Sep 07
4
sample within groups-slight problem
I want to sample within groups, and when a group has only one associated
number to just return that number.
If I use this code:
groups <- c(1, 2, 2, 2, 3)
numbers <- 1:5
tapply(numbers, groups, FUN = sample)
I get the following output:
> groups <- c(1, 2, 2, 2, 3)
> numbers <- 1:5
> tapply(numbers, groups, FUN = sample)
$`1`
[1] 1
$`2`
[1] 3 2 4
$`3`
[1] 2 3 5 1 4
2013 Jan 12
2
[LLVMdev] Reorganizing the documentation.
Hi Daniel, Bill, all,
Now that the Sphinx conversion is done, I'm going to move forward with
the plan which was discussed in
<http://thread.gmane.org/gmane.comp.compilers.llvm.cvs/115358>.
The first step is going to be to inline all of the pages that are just
below the current homepage (subsystems.rst, programming.rst, etc.)
into the homepage, bringing back {Ctrl,Cmd}-f'ability.
2006 Oct 06
0
Reorganizing Puppet Documentation
Greetings,
As the first step in a move to better organize the documentation,
we''re planning to reorganize it into more specific subsections. The
proposed subsections are listed below. If you have any feelings
about the reorganization or would like to call attention to a need
for documentation in one area of the project or another, please feel
free to contribute your views