similar to: Interrogante

Displaying 20 results from an estimated 300 matches similar to: "Interrogante"

2011 Apr 30
1
Interrogante
Buenas noches Quisiera preguntarles acerca de cómo puedo calcular el rango de una matriz en R Muchas gracias -- Atentamente: Ricardo A. Borda Hernández [[alternative HTML version deleted]]
2005 Dec 20
3
Advanced Routing and Secondary ip address in eth0
Hello, I have configured advanced routing with success using three (03) network adapters ( ETH0, ETH1 and ETH2). Now I have to configure an addittion range in the same Interface ETH0 ( another internet ip range address ), so I would like to have TWO different ranges at the same ETHERNET CARD ( in this case ETH0 ) AND having advanced routing running it. I Did the same
2014 Jul 30
2
listof
Dear R developers A question about the class 'listof', defined in package 'stats'. Other than its definition and use in the code for 'anova', we can't see that the class 'listof' is used for anything else (in recommended packages, or elsewhere). In the spatstat package we have been using a 'listof' to represent a list of spatial objects of the same
2005 Nov 01
4
How to priorize Traffic
Hi guys, I want to priorize traffic comming down from internet on my ppp0 int I want port 80 and 21 (and others ) to have preference over P2P traffic, I don''t want to bann P2P just give to it less prio than other more vital services... does anyone know how to do it or where to read on. Thanks in advance
2008 Jan 28
2
How to get out the t-test value matrix for a linear regression ?
Hi, all I've written some R script to calculate the linear regression of a matrix. Here below is my script: >x<-matrix(scan("h:/data/xxx.dat",0),nrow=46,ncol=561,byrow=TRUE) >year <- NULL >year <- cbind(year,as.matrix(x[,1])) >lm.sol<-lm(x~year) >xtrend<-coef(lm.sol)[2,] # get the matrix of regression coefficient >t.test<- ?
2009 Sep 14
1
Best way to extract values from an aov object ?
I'm trying to write a function to automate doing a variance analysis, part of which involves doing some further calculations. The method I've been using isn't very robust, if variable names change then it stops working. For this dummy data > dput(assayvar,"") structure(list(Run = structure(c(1L, 1L, 1L, 2L, 2L, 2L, 3L, 3L, 3L, 4L, 4L, 4L), .rk.invalid.fields =
2006 Apr 20
2
R-Help
Dear r-users, Suppose I have three datasets: Dataset-1: Date x y Jan-1,2005 120 230 Jan-2,2005 123 -125 Jan-3,2005 -110 300 Jan-4,2005 114 -21 Jan-7,2005 11 299 Mar-5,2005 200 311 Dataset-2: Date x y Jan-2,2005 123 -125 Jan-3,2005 -110 300 Jan-4,2005 114 -21
2012 Nov 24
1
Adding a new variable to each element of a list
Hello, I have a list of data with multiple elements, and each element in the list has multiple variables in it. Here's an example: ### Make the fake data dv <- c(1,3,4,2,2,3,2,5,6,3,4,4,3,5,6) subject <- factor(c("s1","s1","s1","s2","s2","s2","s3","s3","s3",
2005 May 24
2
Basic matematical functions with NAs
Dear All, I've tried to sum columns -- different species of flowers, fruits plus twigs -- with NAs to get litterfall/trap, and then after use litterfall to calculate production (litterfall (grams)/ hectare/ day. But R 'sees' litterfall/trap as a string. My question: How to use basic mathematical functions to deal with NAs in data management. Example (as you can note I have many
2005 Jul 04
1
r version 2.1.0 and graphics in mac os 10.3.9
I use mac os 10.3.9 and I've installed in my computer R 2.1.0 (I believe this is the latest R version). Although it works alright when I open R by clicking in the R icon, I cannot use the graphics facility when I open R from a X-terminal window (or x-11 window). In fact, when I try to open R I get the message that I pasted below. Is this a R bug? Is R assuming that I should have the
2010 Jul 13
2
how to extract information from anova results
Hi, I have used the instruction aov in the following manner: res <- aov(qwe ~ asd) when I typed "res" I get: _________ Call: aov(formula = qwe ~ asd) Terms: asd Residuals Sum of Squares 0.0708704 0.5255957 Deg. of Freedom 1 8 Residual standard error: 0.2563191 Estimated effects may be unbalanced _________ I need to access the value of
2008 May 08
2
anova p value extraction
hello all, Quick question, how do I get the p value out of the anova? Thanks, Paul > pb<-aov(as.numeric(diff[5,16:33]) ~ grF) > summary(pb) Df Sum Sq Mean Sq F value Pr(>F) grF 3 2.7860e+10 9.2867e+09 4.2236 0.02534 * Residuals 14 3.0783e+10 2.1988e+09 --- Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 '
2002 Sep 06
2
Using Anova Sums of Squares
Dear all, I'm trying to access the Sums of Squares resulting from a summary(aov(....)) so I can use them in a function. Is there an easy way to access these? The structure of a summary.aov object is something like this: > str(summary(fhc.aov)) List of 5 $ Error: PPNR :List of 1 ..$ :Classes anova and `data.frame': 1 obs. of 5 variables: .. ..$ Df : num 70 .. ..$
2011 Aug 06
2
Problems to extract data from anova table
Hi, this is my script > anova <- aov(data ~ Ts*Te*t + Error(R/Ts*Te*t)) > results <- summary(anova$Within) this is results Df Sum Sq Mean Sq F value Pr(>F) Ts 2 1232.2 616.11 53.606 3.965e-10 *** Ts:Te 4 4889.5 1222.37 106.356 4.075e-16 *** Ts:t 4 6472.1 1618.01 140.780 < 2.2e-16 *** Ts:Te:t 8 4181.0 522.63 45.473 1.088e-13 ***
2008 Sep 19
2
Extract method for a new class
Dear list, I am trying to write a package for simulating meioses in R. We defined a class 'haplotype' which contains the basic units of our simulation: setClass("haplotype",representation(snp = "numeric",qtl = "list", hID = "numeric",phID0 = "numeric",phID1 = "numeric"),
2009 Mar 25
2
"[.data.frame" and lapply
Dear all, Trying to extract a few rows for each element of a list of data.frames, I'm puzzled by the following behaviour, > d <- lapply(1:4, function(i) data.frame(x=rnorm(5), y=rnorm(5))) > str(d) > > lapply(d, "[", i= c(1)) # fine, this extracts the first columns > lapply(d, "[", j= c(1, 3)) # doesn't do nothing ?! > > library(plyr)
2009 Mar 25
2
"[.data.frame" and lapply
Dear all, Trying to extract a few rows for each element of a list of data.frames, I'm puzzled by the following behaviour, > d <- lapply(1:4, function(i) data.frame(x=rnorm(5), y=rnorm(5))) > str(d) > > lapply(d, "[", i= c(1)) # fine, this extracts the first columns > lapply(d, "[", j= c(1, 3)) # doesn't do nothing ?! > > library(plyr)
2002 Oct 17
1
manova with Error?
Let's say I have a within-subject experiment with 2 observables, obs1 and ob2 and 2 independent factors, fac1 and fac2. I can do summary( aov( obs1~fac1*fac2 + Error(Subject/(fac1*fac2)) ) ) summary( aov( obs2~fac1*fac2 + Error(Subject/(fac1*fac2)) ) ) to test the 2 observables separately. > summary( fit<-manova( cbind(obs1,obs2)~fac1*fac2 + Error(Subject/(fac1*fac2)) ) ) gives
2006 Oct 10
1
Extract p value from aov
Hi all, In assessing the concordance of two sets of ANOVA results, I would like to extract the p values from the summaries. I had a look at previous answers to this problem, and the suggestions do not seem to work: # toy example test.df<-data.frame(subno=c(1:50,1:50), ndrinks=c(rpois(50,4.5),rpois(50,4)), b4after=c(rep(1,50),rep(-1,50)))
2009 Oct 19
1
access elements of summary.aov?
Dear all How do I access individual elements of a "summary.aov" object? > data(iris) > AnovaModel.1 <- aov(Sepal.Length ~ Species, data=iris) > tmp <- summary(AnovaModel.1) > tmp Df Sum Sq Mean Sq F value Pr(>F) Species 2 63.2 31.6 119 <2e-16 *** Residuals 147 39.0 0.3 --- Signif. codes: 0 '***' 0.001 '**' 0.01