Displaying 20 results from an estimated 70 matches similar to: "Graphic Device - View/get all graphics"
2010 Feb 01
3
merging data frames gives all NAs
Dear kind R helpers,
I have a vector of runway names in rwy ("31R", "31L",... the number is
user selectable)
arrgnd is a data frame with data for all flights and all runways, with a
Runway column.
I am trying to subset arrgnd into a dat frame for each selected runway,
and then combine them back together using the following code:
for (j in 1:nr) { # nr = number of
2009 Sep 18
2
Sum according observation
Hi listers,
I have a simple doubt...
I need to manipulate the data base as:
var1 var2
7 0.1
7 0.1
8 0.12
10 0.15
12 0.18
20 0.31
I would like to aggregate the equal cases as var1 making the sum of var2...
I would get...
var1 var2
7 0.2
8 0.12
10 0.15
12 0.18
20 0.31
Thanks in advance,
Marcio
--
View this message in context:
2009 Jun 11
4
Count observation
Hi listers,
I have the following code...
data<-as.matrix(c(1,2,3,4,5,6,7,8,9,10),nrow=10,ncol=1,byrow=TRUE)
n<-nrow(data)
m<-n-1
boot<-data[sample(m,replace=T),]
So, I need to count the number of times each observation was selected at the
sample with replacement...
Suppose I sampled...
4 5 1 3 7 5 1 4 7
So, I would count...
x count
1 2
2 0
3 1
4 2
5 2
6 0
7 2
8 0
9 0
10 0
2009 Jun 12
3
Order data frame
Hi listers,
I have a data frame with 5 variables... And I want reorder the data frame
according a specific variable X...
I checked the sort and order functions... In my case I think that the ORDER
function is applicable... But I did not understand at all... The idea is
simple... Data order by X...
I know that this is very simple... Anyways... How I would do that...
Thanks in advance,
Marcio
--
2009 Feb 24
2
Transpose array
Hi Listers,
Is there a way that I can transpose an array...
Suppose I have the following array...
x<-array(c(1,2,3,4),dim=c(1,2,2))
, , 1
[,1] [,2]
[1,] 1 2
, , 2
[,1] [,2]
[1,] 3 4
And I would like to get the following result...
, , 1
[,1]
[1,] 1
[,2] 2
, , 2
[,1] [,2]
[1,] 3
[,2] 4
Thanks in advance,
Marcio
--
View this message in context:
2009 Apr 01
2
Matrix multiplication - code problem
Hi listers,
I am having some trouble in a matrix multiplication...
I have already checked some posts, but I didn't find my problem...
I have the following code...
But I am not getting the right multiplication...
I checked the dimension and they are fine...
id_y <- array(1:10,dim=c(2,1,5))
id_yt<-aperm(id_y,c(2,1,3))
m_id<-array(dim=c(dim(id_y)[1],dim(id_y)[1],dim(id_y)[3]))
for (i in
2014 Dec 09
2
DCB 4.1 spec update
On Wed, Dec 10, 2014 at 7:36 AM, Ben Skeggs <skeggsb at gmail.com> wrote:
> On Wed, Dec 10, 2014 at 4:26 AM, Andy Ritger <aritger at nvidia.com> wrote:
>> Hi,
> Hey Andy,
>
>>
>> The VBIOS on GM20x GPUs uses a slightly updated version of the DCB.
>> I've posted an updated DCB spec here:
>>
>>
2013 May 15
1
x and y lengths differ
I have a problem with R. I try to compute the confidence interval for my
df. When I want to create the plot I have this problem: Error in
xy.coords(x, y, xlabel, ylabel, log) : 'x' and 'y' lengths differ.
I try this code:
library(dplR)
df.rwi <- detrend(rwl = df, method = "Spline",nyrs=NULL)
write.table(df.rwi,file="rwi.txt",quote=FALSE,row.names=TRUE)
2009 Mar 26
2
Data manipulation - multiplicate cases
Hi listers,
I am trying to arrange my data and I didn't find any information how to do
it!
I have a data with 3 variables: X Y Z
1-I would like to multiplicate de information of X according to the number I
have for my Y variable...
2-Then I want to identify with a dicotomic variable by the number according
my variable Z from X...
I can do the first part by...
z<-rep(x,y)
But I don't
2014 Dec 14
1
DCB 4.1 spec update
On Sat, Dec 13, 2014 at 6:42 PM, Andy Ritger <aritger at nvidia.com> wrote:
> On Wed, Dec 10, 2014 at 07:46:16AM +1000, Ben Skeggs wrote:
>> On Wed, Dec 10, 2014 at 7:36 AM, Ben Skeggs <skeggsb at gmail.com> wrote:
>> > On Wed, Dec 10, 2014 at 4:26 AM, Andy Ritger <aritger at nvidia.com> wrote:
>> >> Hi,
>> > Hey Andy,
>> >
>>
2009 Mar 31
1
Package candisc
Hi listers,
I am working on an canonical discriminant analysis, but I am having some
trouble to use the CANDISC function... I just installed the last R version
and installed the package CANDISC... But, I am getting the following message
because about a permission:
The downloaded packages are in
C:\Users\Marcio\AppData\Local\Temp\Rtmpz2kFUm\downloaded_packages
updating HTML package descriptions
2009 Aug 18
1
Simulation function
Hi listers,
I've been looking for a procedure, but I am not succeding...
I have a function that give multiple results...
Then, I would like to simulate this function n times, so I need to save/keep
the n multiple results, in order to calculate my desired statistics...
I have already tried with the RETURN and LIST FUNCTION, but I am not getting
it right...
An example of what I am looking for
2009 Aug 14
1
Simulation Function - Save results
Hi listers,
I am working on a simulation... But I am having some troubles...
Suppose I have a function A which produces two results (mean and
variance)...
Then I would like to simulate this function A with a function B many times
using the results from function A
For example:
#Function A
boot<-function(a,b,c){
mean_boot<-(a+b)/2
var_boot<-c
#list(a=a,b=b,c=c)
return(a)
}
Then I would
2007 Jan 03
1
samba is freezen when it is accessed from different computers at same time
Hi all,
I just installed Samba 2.2.12 on a HPUX 11.0 (192.1.1.1) and I'm sharing
nfs "samba" data on another cpu (192.1.1.8).
bdf (192.1.1.1):
192.1.1.8:/dsp1/fontes 14540800 13990536 517304 96% /nfs/fontes
>From a windows xp (professional) computer I can do copy, paste, etc . If
I call a cobol application, it run ok too, but when another user calls
the same cobol
2010 Jan 13
0
need a clarification on logistic regression
hello
I need a clarification.
in logistic regression, saturated model having all combinations and
interactions of variables should be constructed in this way ? :
> rsat2=glm(cbind(landp,landa) ~
as.factor(rlito)*as.factor(rslp)*as.factor(rasp)*as.factor(rplc)*as.factor(rwi),family=
binomial(link=logit),data=rdf46)
then
using stepAIC to eliminate some models having high AIC values.
>
2014 Dec 13
0
DCB 4.1 spec update
On Wed, Dec 10, 2014 at 07:46:16AM +1000, Ben Skeggs wrote:
> On Wed, Dec 10, 2014 at 7:36 AM, Ben Skeggs <skeggsb at gmail.com> wrote:
> > On Wed, Dec 10, 2014 at 4:26 AM, Andy Ritger <aritger at nvidia.com> wrote:
> >> Hi,
> > Hey Andy,
> >
> >>
> >> The VBIOS on GM20x GPUs uses a slightly updated version of the DCB.
> >>
2023 Nov 28
0
possible LVM corruption?
While updating a hypervisor, I'm getting the following errors printed to
the terminal during rpm upgrade scripts.? The first line is printed 15
times, and GRUB prints a similar error at boot.? "vgck" doesn't seem to
find any problems.? Does anyone have suggestions for diagnosing the issue?
error: ../grub-core/disk/diskfilter.c:524:unknown node
2002 Jul 11
0
rsync digest, Vol 1 #797 - 4 msgs
If it's anything like the rooms I saw last year...some rooms have
"wardrobes" meaning that you have a unit with a shelf, a "closet" cabinet
type thing, and about 5 drawers. If you have lots of clothes, bring extra
storage containers because thos drawers can't really hold much. Or don't
bring so many clothes:)
I think some of the two room doubles have huge-ass floor
2002 Jul 11
0
Sorry about that-New way to run Rsync on OSX
Whoops, I apologize for the off topic e-nail. I meant to write a reply but
I mixed up my messages to the
various listservers I'm subscribed to. I'll remember to check my address
next time. I've found a new way to run Rsync, it works pretty well, and
involves a disk image mounted on a server that's created with Disk Copy.
It serves our purpose pretty well for what we're doing
2008 Aug 09
2
xy plot in version 2.7.1 for Mac (PR#12520)
--Apple-Mail-30--530209534
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
I recently reformatted my hard disk on my MacBook Pro using a clean
install of Leopard (had Leopard before too but not from a clean
install). I had to reinstall R, and therefore installed the new
version 2.7.1 for Mac. In preparing some graphs, I noticed