Displaying 20 results from an estimated 1100 matches similar to: "windows data editor changes dimensions displayed data frames"
2003 May 09
2
Re: [R] windows data editor changes dimensions displayed data frames (PR#2962)
On Fri, 09 May 2003 11:34:08 +0300, Bernd Ebersberger
<bernd.ebersberger@vtt.fi> wrote:
>dear R-tists,
>
>i am experiencing a problem with the data editor in the windows version of
>R 1.6.1 envoked with the command 'fix'.
>
>the data editor changes the size of large data frames.
I can confirm this in the current R-patched. I'll take a look. It
might be that
2003 May 09
1
Re: [R] windows data editor changes dimensions displayed data frames (PR#2963)
And I can confirm it with
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system i686, linux-gnu
status
major 1
minor 7.0
year 2003
month 04
day 16
language R
so it is not a Windows issue.
Cheers,
Robert Cunningham
Duncan
2005 Jul 20
1
maps and data for german federal states
dear R-tists,
i want to graph information for the German Federal States (Bundeslaender) using the maps package. unfortunately there is no maps for the German Bundeslaender.
does anyone have an idea / a source where to get map data that can be used in the maps package that graphs structures below the country level.
in the long run it would also be interesting to integrate Swiss Cantons and
2008 Mar 20
1
ggplot - axis labels angle
dear R-tists,
im an struggling with labeling ticks of the axis in a ggplot.
i would like to print the text associated with the ticks being ploted
with a 90 degree angle.
how can i possibly do this?
cheers.
bernd.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bernd Ebersberger
Management Center Innsbruck, Austria
[[alternative HTML version deleted]]
2011 May 16
2
conditional rowsums in sapply
Hi all
I have a data frame with duplicate columns and i want to remove duplicates
by adding rows in each group of duplicates, but have lots of NA's.
Data:
dfrm <- data.frame(a = 1:4, b= 1:4, cc= 1:4, dd=1:10, ee=1:4)
names(dfrm) <- c("a", "a", "b", "b", "b")
dfrm[3,2:3]<-NA
dfrm
a a b b b
1 1 1 1 1 1
2 2 2 2 2 2
3
2011 Jul 01
4
Access only part of last dimension of table/matrix
I would like to do some operations inside a function using only one
value for the last dimension of a table/matrix:
tabfn <- function (dfrm, facvec, YN ="event"){
return( Etbl <- do.call(table, dfrm[ , c(facvec,
"event") ]) )
# just want Etbl[,,,"TRUE"] or Etbl[,, "TRUE"] or
Etbl[,"TRUE"]
}
2005 Dec 01
1
Kalman Smoothing - time-variant parameters (sspir)
Dear R-brains,
I'm rather new to state-space models and would benefit from the extra
confidence in using the excellent package sspir.
In a one-factor model, If I am trying to do a simple regression where
I assume the intercept is constant and the 'Beta' is changing, how do
I do that? How do i Initialize the filter (i.e. what is appropriate to
set m0, and C0 for the example below)?
2023 Oct 13
1
Create new data frame with conditional sums
This seems like it should be simple but I can't get it to work properly. I'm starting with a data frame like this:
Tract Pct Totpop
1 0.05 4000
2 0.03 3500
3 0.01 4500
4 0.12 4100
5 0.21 3900
6 0.04 4250
7 0.07 5100
8 0.09
2023 Oct 14
2
Create new data frame with conditional sums
Well, here's one way to do it:
(dat is your example data frame)
Cutoff <- seq(0, .15, .01)
Pop <- with(dat, sapply(Cutoff, \(p)sum(Totpop[Pct >= p])))
I think there must be a more efficient way to do it with cumsum(), though.
Cheers,
Bert
On Sat, Oct 14, 2023 at 12:53?AM Jason Stout, M.D. <jason.stout at duke.edu> wrote:
>
> This seems like it should be simple but I
2017 Jun 22
0
Question
> On Jun 22, 2017, at 11:22 AM, Amrith Deepak <adeepak at apple.com> wrote:
>
> Hi,
>
> I am using Spark and the Sparklyr library in R.
>
> I have a file with several lines. For example
>
> A B C
> awer.ttp.net Code 554
> abcd.ttp.net Code 747
> asdf.ttp.net Part 554
> xyz.ttp.net Part 747
> I
2017 Jun 22
1
Question
This function won?t work with objects in spark as you can?t do a dfda$a in spark as it?s not stored as a local variable.
Thanks,
Amrith
> On Jun 22, 2017, at 4:15 PM, David Winsemius <dwinsemius at comcast.net> wrote:
>
>
>> On Jun 22, 2017, at 11:22 AM, Amrith Deepak <adeepak at apple.com> wrote:
>>
>> Hi,
>>
>> I am using Spark and the
2013 Feb 02
1
repeating autocovariate functions
Hi there,
Just wondering why my post was rejected?
cheersRachel
Subject: repeating autocovariate functions
From: r-help-owner@r-project.org
To: moyble@hotmail.com
Date: Sat, 2 Feb 2013 02:56:27 +0100
Message rejected by filter rule match
--Forwarded Message Attachment--
Date: Fri, 1 Feb 2013 17:56:14 -0800
From: moyble@hotmail.com
To: r-help@r-project.org
Subject: repeating autocovariate
2023 Oct 14
1
Create new data frame with conditional sums
That's very helpful and instructive, thank you!
Jason Stout, MD, MHS
Box 102359-DUMC
Durham, NC 27710
FAX 919-681-7494
________________________________
From: John Fox <jfox at mcmaster.ca>
Sent: Saturday, October 14, 2023 10:13 AM
To: Jason Stout, M.D. <jason.stout at duke.edu>
Cc: r-help at r-project.org <r-help at r-project.org>
Subject: Re: [R] Create new data frame with
2006 Feb 06
1
template choice error (layout.rb)
Hey,
I installed the rjs plugin yesterday and started using it for one set
of views. Today I notice that in an entirely separate
controller/template I''m seeing this error:
TypeError (can''t dup NilClass):
/vendor/plugins/javascript_generator_templates/lib/add_rjs_to_action_controller.rb:41:in
`dup''
2023 Oct 15
2
Create new data frame with conditional sums
Under the hood, sapply() is also a loop (at the interpreted level). As
is lapply(), etc.
-- Bert
On Sun, Oct 15, 2023 at 2:34?AM Jason Stout, M.D. <jason.stout at duke.edu> wrote:
>
> That's very helpful and instructive, thank you!
>
> Jason Stout, MD, MHS
> Box 102359-DUMC
> Durham, NC 27710
> FAX 919-681-7494
> ________________________________
> From: John
2007 Dec 07
2
Problems compiling xapian-core to run omega, SunOS
Hello xapian users,
The server I'm compiling on is a little odd. SunOS on a sun4
architecture.
Fails when linking, gives the following,
memcpy 0x10
/usr/local/gcc-3.3.2/lib/./libstdc++.a(ctype.o)
ld: fatal: relocations remain against allocatable but non-writable
sections
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error:
2011 Jan 31
2
From data frame to list object
Dear all, let say I have following data frame:
> data.frame(x=rnorm(18), y=rep(c("a", "b", "c"), each=6))
x y
1 -1.072152537 a
2 0.382985265 a
3 0.058877377 a
4 -0.006911939 a
5 -2.355269051 a
6 -0.303095553 a
7 0.484038422 b
8 0.733928931 b
9 -1.136014346 b
10 0.503552090 b
11 1.708609658 b
12 -0.294599403 b
13
2011 Jan 31
2
Missing at random
R users:
Thanks in advance
How to generate missing at random (MAR)?
assaedi76@yahoo.com
Thanks
[[alternative HTML version deleted]]
2013 Mar 06
2
Fwd: How to conditionally remove dataframe rows?
Hi,
I have a data frame with two columns. I need to remove duplicated rows in
first column, but I need to do it conditionally to values of the second
column.
Example:
Point_counts Psi_Sp
1 A 0
2 A 1
3 B 1
4 B 2
5 B 0
2011 Jul 15
3
summarized data set - how to use an "occurs" field
I have a data set with 22 fields and several thousand records in which
one field (count) indicates the number of times that each specific
combination of the other 21 fields occurred in a bigger and largely
unavailable data set.
So each record is unique in its combination of field values and has a
field that identifies how many multiples of this record actually
occurred.
Without resorting to