Displaying 20 results from an estimated 1100 matches similar to: "Barplot by two variables"
2006 Nov 28
2
Problem with pairs() in nlme
Dear r-helpers,
After successfully running
require(nlme)
vfr.lmL <- lmList(
estimate ~ (slant + respType + visField + hand)^2 | subject, vfr
)
pairs(vfr.lmL, id = 0.01, adj = -0.5) # Pinheiro & Bates (p. 141)
produces the following error:
Error in sprintf(gettext(fmt, domain = domain), ...) :
object "form" not found
Any guesses as to what I may have done wrong?
2008 Nov 24
4
Replace NaN with zero
I need help with replacing NaN with zero (the value '0') in my dataset.
The reason is that I can't get it to graph because of the NaN in the
dataset. I have tried:
data[is.nan(data)] <- 0
that others have suggested in the help archives but this does nothing so
I am not sure what I am doing wrong.
Thanks in advance for your help.
[[alternative HTML version deleted]]
2007 Jun 20
3
Replace number with month
Hi all
I have a multiple datasets that look like this
MM Freq
1 30
2 35
3 54
4 33
5 27
6 13
7 25
8 29
9 40
10 32
11 36
12 23
I am plotting this using barchart (there is probably something better
but it gives me the results I want) and I would like the x-axis to have
the names of the months instead of the month numbers. So I have
2007 Apr 25
1
Sum of specific column
I have a data set that I have imported (not sure if that makes a
difference) and I would like to calculate the sum of only specific
columns. I have tried
>colSums(dataset, by=list(dataset$col5), dims=1) and I get an error of
unused arguments
I have also tried
>aggregate(dataset, by=list(dataset$col5), sum) and I get the error that
sum is not meaningful for factors.
I want to only calculate
2007 May 15
1
How to group a count
Hello R users
I have a dataset that has different types of records with different
dates and times pertaining to each. I would like to have a bar graph of
a count of the types(ie. The number of types) of recods by hour grouped
by year. So the count of the types would be the y axis, the hour on the
x axis and then grouped by year for easy comparison. I think that I
have to use barchart however I
2007 Jun 22
1
Barchart legend position
I am using barchart to make charts for some data with a lot more
functions and labels and such in the command.
barchart(Freq ~ factor(HH), data = dataset1, group= year)
So I have my data grouped by year and I get a legend at the top of
graph, which is great cause I need the legend for the different years
but it is a weird spot. So how can I manipulate the legend, ie. Move
it, shrink it, do
2007 Dec 19
1
adding lines to a barchart
Hi all
I can't find what I am looking for so I am asking here. I have a
dataset that looks something like this.
Year season percent_below
2000 Winter 6.9179870
2000 Spring 1.6829436
2000 Summer 1.8463501
2000 Autumn 3.8184993
2001 Winter 2.8832806
2001 Spring 2.5870511
2001 Summer 0.0000000
2001 Autumn 4.7248240
2002 Winter
2007 Sep 19
1
Subset any value and blanks
Hi everyone
I need help with subseting a data set. In my dataset there is a
specific row that will either have a value or be blank. I would like to
subset (or split) the dataset into one dataset with the row that has the
value and another dataset that has just the blanks. Now the thing is
that the row that has the value in it, the value is not always the same,
it is a time stamp of when
2007 Jun 29
1
Assign name to a name
I would like to know how I can assign a name to a name. I have a
dataset that has different years in it. I am writing scripts using R
and I would like to give a month a generic name and then use the generic
name to do different analysis. The reason for the generic name would be
so that I only have to change one thing if I wanted to change the year.
For example.
Year1 = 1999
datayear <-
2008 Jan 23
1
Bar width and labels in barchart
Hi everyone
I am using barchart to make my graphs. Here is my code.
barchart(percent_below ~ factor(Year)| factor(Season,
levels=unique(Season)),
data= .season_occurrence, origin = 0, layout = c(4, 1),
scales=list(tick.number=ticknum,labels=NULL), ylim=c(0, ymax),
group = factor(Year), xlab= "Year", auto.key = list(points =
FALSE, rectangles =
2005 Jun 13
1
Traffic shaping on WAN(serial) device
Hi,
In our product i am using the High Speed Serial driver as the WAN interface.
I''ve implemented the HSS as a serial driver and i am running PPP to
connect to the internet. I have both Voice data + FTP data going thro the
PPP session. Is it possible for me to use the Traffic shaper(wonder shaper)
in my case/ Do i need to make the HSS driver to appear as a network device
inorder to
2007 Apr 11
2
Looping through series of names
Hi
I am very new to R and have not able to find the answer to my question
in the manual or any other post. I have a dataset that has various
different sites names with data relating to each site. The data is in
one dataset. I want to loop through the different site names and
perform my test on each site. The sites are named not numbers for
example "YYC". How do I do this. I hope I
2004 Sep 11
1
Is posible to ad a VFR or pseudoVFR to theora without breack the stream?
My litle idea to vfr is:
Use de frame rate as base time
and use a bit flag as:
is 0 duration is 1 frame
is 1 read next bit {
if 0 read next 8 bits as a number, duration is 2+number frames
if 1 read next 16 bits as a number, duration is 2+number
frames
}
the only question if exist any free bit in the farme header for a flag
2011 Oct 05
2
creating a loop for a function
Dear All,
I want to create a loop within a function r. The example follows:
Box.test (lfut, lag = 1, type="Ljung")
if i want to compute the Box.test for lag 1 to 10, I have to write manually
change each time for different lag. So i wan to write a loop for the lag 1
to 10 and return the statistics for each lag. Is there any method to do this
?
With regards,
Upananda
--
You may
2017 Sep 20
1
Convert data into zoo object using Performance analytics package
Dear Sir,
Thanks for your mail and help. I got this error while trying to run your
code.
sbux1.z <- read.csv.zoo(u, FUN = as.yearmon, format = fmt)
Error in read.table(file = file, header = header, sep = sep, quote = quote,
:
'file' must be a character string or connection
Thanks and Regards,
Upananda Pani
On Tue, Sep 19, 2017 at 4:31 PM, Upananda Pani <upananda.pani at
2017 Sep 22
1
Convert data into zoo object using Performance analytics package
Dear All,
Thanks a lot for your help. Would you please let me know if i want to read
a csv file as zoo object from my local file rather than directly from the
website, how to do that?
library(zoo)
u <- "https://faculty.washington.edu/ezivot/econ424/sbuxPrices.csv"
fmt <- "%m/%d/%Y"
With sincere regards,
Upananda Pani
On Wed, Sep 20, 2017 at 3:22 PM, PIKAL Petr
2017 Sep 20
0
Convert data into zoo object using Performance analytics package
Hi
Gabor's code works as expeceted without error.
What is "u" in your case?
Cheers
Petr
> -----Original Message-----
> From: R-help [mailto:r-help-bounces at r-project.org] On Behalf Of Upananda
> Pani
> Sent: Wednesday, September 20, 2017 11:06 AM
> To: Gabor Grothendieck <ggrothendieck at gmail.com>
> Cc: r-help <r-help at r-project.org>
>
2008 May 28
4
[Bug 16132] New: yahoo video player does not work
http://bugs.freedesktop.org/show_bug.cgi?id=16132
Summary: yahoo video player does not work
Product: swfdec
Version: git
Platform: x86-64 (AMD64)
URL: http://fr.news.yahoo.com/afp/20080527/video/vfr-la-
dfense-jean-nouvel-construira-la-3837155.html
OS/Version: Linux (All)
Status: NEW
2018 May 15
2
Systemfit
OK, Let's try this again! Here is the reproducible script; it is long because I had to copy the panel dataset here. My question is related to systemfit; I don't know how to get the result for the entire panel.
#Reproducible script
Empdata<- read.csv("/Users/ngwinuiazenui/Documents/UPLOADemp.csv")
View(Empdata)
install.packages("systemfit")
2019 Aug 27
1
Opus Todo
陈伟旭 wrote:
> So part of the wiki is out of date? Beside Opus-tools, I also concern
> about the spec, optimization and future work in wiki. Could you tell me
> about if they are out of date?
> On 08/28/2019 00:08, Ralph Giles <mailto:giles at thaumas.net> wrote:
For the Spec section:
There is a Matroska mapping, and it has been implemented in Firefox and
FFmpeg (and Chrome