Hi,
It's difficult to know what is going wrong from what you say below (please
include some reproducible code in the future as indicated in the posting
guide). If you want to produce a bar chart of the numbers with the
corresponding names as labels for these numbers, you can do something like
Hi,
What you are after is:
datasubset - dataset[ dataset[,3] == text3, ]
Equivalently, you can use:
datasubset - subset(dataset, subset = dataset[,3] == text3)
HTH,
Francisco
On Tue, Mar 15, 2011 at 3:09 PM, e-letter inp...@gmail.com wrote:
Readers,
For a data set:
text1,23,text2,45
Benjamin,
A more elegant R-style solution would be to use one of R's
apply/aggregation routines, of which there are many. For example, the by
function can split a data.frame by some factor/categorical variable(s), and
then apply a function to each slice. The result can then be pieced back
Victor,
The weekdays function will return the days of the week (as a character
vector of names) that a given vector of dates (Date or POSIXct) fall on.
These can then be converted into numbers using a look-up table/vector. See
below for an example using the sample_matrix data included with the
Hi Nipesh,
Try \cr. See section 2.2 of the Writing R Extensions document for more
information.
HTH,
- Francisco
On Sun, Mar 6, 2011 at 2:03 PM, Nipesh Bajaj bajaj141...@gmail.com wrote:
Hi all, I have created a package and now into writing it's help files.
However I am having problem on,
Hi Nick,
There is a difference between the newer S4 generic functions/methods and S3
generic functions. See for example:
methods(print)
showMethods(show)
?Methods
HTH,
-Francisco
On Fri, Mar 4, 2011 at 10:14 AM, Nick Sabbe nick.sa...@ugent.be wrote:
Hello list.
This is from an R
ECN 1HU
Tel: 020 7588 4845
Agenda:
* 4pm - Richard Pugh
Introduction
* 4.15pm - Matthew Dowle
Data.table: Higher speed time series queries
* 4.45pm - Francisco Gochez (To be confirmed)
An overview of RMetrics 2009
Hello,
Mango is pleased to announce that the next LondonR Group meeting will be
held on 21st July. At this meeting we plan to have a feedback session
from people who attended useR! in Rennes. To help us plan this, if you
are attending at Rennes next month and would be interested in giving
some
Dear userRs,
Mango Solutions are pleased to announce that we will deliver a 3-day
introductory R course focused on financial analysis in New York on the
16-18th of July. The course topics are as follows:
* Introduction
* The R Environment
* Data Objects
* Functions
9 matches
Mail list logo