search for: area2

Displaying 13 results from an estimated 13 matches for "area2".

Did you mean: area
2013 Jan 27
3
Package: VennDiagram. Error in draw.pairwise.venn Impossible: cross section area too large
Dear list, When I use VennDiagram package, I got a error as follow: venn.plot <- draw.pairwise.venn( area1 = 3186, area2 = 325, cross.area = 5880); Error in draw.pairwise.venn(area1 = 3186, area2 = 325, cross.area = 588) : Impossible: cross section area too large. Does anyone have suggestion? Thank you.
2011 Mar 20
2
R as a non-functional language
...reading Torgo (2010) *Data Mining with R*<http://www.liaad.up.pt/~ltorgo/DataMiningWithR/code.html>in preparation for a class I'll be teaching next quarter. Here's an example that is very non-functional. > pH <- c(4.5,7,7.3,8.2,6.3) > names(pH) <- c('area1','area2','mud','dam','middle') > pH area1 area2 mud dam middle 4.5 7.0 7.3 8.2 6.3 This sort of thing seems to be quite common in R. *-- Russ * [[alternative HTML version deleted]]
2003 May 21
1
help on spatial data
...I have an identity of point, in some cases I can have more then one identity by point. My dataset is something like this: > x <- rep(c(1:4),4) > y <- rep(c(1:4),c(4,4,4,4)) > area1 <- sample(factor(rep(c("a","b","c","d"),4))) > area2 <- as.factor(c(rep(c("a","b"),c(2,2)),rep(c("a","b"),c(2,2)),rep(c("c","d"),c(2,2)),rep(c("c","d"),c(2,2)))) to view the spatial grid: > plot(y~x,pch=levels(area1)[codes(area1)]) > plot(y~x,pch=levels(a...
2011 Jan 19
3
question about result of loglinear analysis
Hi all: Here's a question about result of loglinear analysis. There're 2 factors:area and nation.The raw data is in the attachment. I fit the saturated model of loglinear with the command: glm_sat<-glm(fre~area*nation, family=poisson, data=data_Analysis) After that,I extract the coefficients: result_sat<-summary(glm_sat) result_coe<-result_sat$coefficients I find that all the
2009 Jul 31
2
merging two data frame with colomns of different length
...1, Habit1,sep=".") data1 <- data.frame(Id01) # data frame 2 Id2 <- c(1,2,3,3) Habit2 <- c('a','b','d','d') Id02 <- paste(Id2, Habit2,sep=".") Area <- c(10,2,3,5) data2 <- data.frame(cbind(Id02, Area)) # result that I would like Area2 <- c(10, 0, 0, 2, 0, 0, 3, 5, 0) result <- data.frame(cbind(Id01, Area2)) Thank's -- Julien Beguin
2010 Nov 23
2
Help with grouped barplot
Given the data structure below, how can I create a bar plot for the values of disc for each area grouped by year? bar <-structure(list(year = c(2003, 2003, 2003, 2003, 2003, 2003, 2003, 2007, 2007, 2007, 2007, 2007, 2007, 2007), area = structure(c(6L, 4L, 1L, 2L, 3L, 5L, 7L, 6L, 4L, 1L, 2L, 3L, 5L, 7L), .Label = c("AK", "ID", "MT", "NW",
2009 May 14
1
Supplying NA or Zeros in dataframe for missing factor combinations
...rds. So here it is: I have a dataframe with the following structure factor1 factor2 value In the (rather large) dataset I have to work on, there are some factor combinations missing, e.g. factor1 <- c("2005", "2007", "2009) factor2 <- c("Area1", "Area2", "Area3") So in a perfect world there should be values for each combination in the dataset, eg values for "2005" in "Area1", "Area2" and "Area3", for "2007" and the three areas and so on. But in my dataset some combinations are...
2015 Jul 27
4
Como modificar valores en un data frame
Estimad en s, querĂ­a realizar una consulta Dado un data frame llamado aves, como puedo sustiuir las variables area, dist y distm por sus logaritmos en base10 y volver a crear un data frame? Muchas gracias Saludos Susana [[alternative HTML version deleted]]
2012 May 11
1
Overlapping area script
...lap', cex=2) + dev.off() + } Error in nrow(spp.asc) : object 'bat.asc' not found In addition: There were 12 warnings (use warnings() to see them) > > write.csv(overlap.matrix, paste(out.dir, "all_species.csv",sep='')) http://r.789695.n4.nabble.com/file/n4625913/area2.r area2.r -- View this message in context: http://r.789695.n4.nabble.com/Overlapping-area-script-tp4625913.html Sent from the R help mailing list archive at Nabble.com.
2011 Jan 31
4
Select rows with distinct values in a column and other conditions
My data frame looks like: SightingID PA1 PA2 PlotID InOverlap Area1 2001 1 -99 392 Y 0.22 2002 1 -99 388 Y 0.253 2008 1 NA 104 N 0.344 2010 1 NA 71 N 0.185 2012 1 NA 61 N 0.166 2013 1 NA 61 N 0.227 2014 1 NA 62
2003 Apr 23
0
MySQL
...where region like \"Arctic Ocean\"" )$area; mynn <- dbGetQuery(con, paste("select year(date) as year,", "avg(area1)/",regionarea,"*100 as area1,", "avg(area2)/",regionarea,"*100 as area2", "from ArcticOcean_MYNN", "where month(date)<=3 and empty<465", "group by year(date)", sep=" "...
2011 Apr 01
3
programming: telling a function where to look for the entered variables
...ace=T) zvar <- rnorm(100) lvar <- sample(0:1, 1000, replace=T) Fulldf <- as.data.frame(cbind(xvar,yvar,zvar,lvar)) Fulldf$xvar <- factor(xvar, labels=c("blue","green","red","yellow")) Fulldf$yvar <- factor(yvar, labels=c("area1","area2")) Fulldf$lvar <- factor(lvar, labels=c("yes","no")) and here's the function in the form that it currently works: from a subset of the dataframe Fulldf, a contingency table is created (in my actual data, several other operations are then performed on that contingenc...
2009 Aug 07
0
Problem with area()
...39;m geting the opposite result using area(). This is what I'm doing: require(MASS) f1 <- approxfun(x,y1) f2 <- approxfun(x,y2) plot(x,y1,ylim=range(c(y1,y2))) lines(x,f1(x),col="black") points(x,y2) lines(x,f2(x),col="red") area1 <- area(f1,min(x),max(x)) area2 <- area(f2,min(x),max(x)) text(4.5,1.6,paste("f2:",round(area2,3)),col="red") text(5.5,0.1,paste("f1:",round(area1,3)),col="black") title(main="Areas under curves") grid(50,50) What am I doing wrong? Could this be a problem with an inappropr...