search for: areas

Displaying 20 results from an estimated 15214 matches for "areas".

Did you mean: area
2010 Dec 08
4
evaluating NAs in a dataframe
Hi all, How can one evaluate NAs in a numeric dataframe column? For example, I have a dataframe (demo) with a column of numbers and several NAs. If I write demo.df >= 10, numerals will return TRUE or FALSE, but if the value is "NA", "NA" is returned. But if I write demo.df == "NA", it returns as "NA" also. I know that I can remove NAs, but would like
2006 Feb 03
1
Stupid drag/drop add on
To constraint the movement to a specific area, I added the following lines in dragdrop.js This will allow you to specify: area: [2,3,100,120] to draw a rectangular area where movement is allowed... might have very strange side effects, just needed a quick/dirty hack. Plus I installed script.aculo.us just 10 minutes ago :) Don''t flame pls. Manuele line:202 (please note the ","
2009 Oct 14
1
Cacheing computationally expensive getter methods for S4 objects
Hi, I was wondering if there was a way to store the results of a computationally expensive "getter" call on an S4 object, so that it is only calculated once for each object. Trivial example: let's say I want to cache the "expensive" area calculation of a square object. setClass("Square", representation( length='numeric',
2011 Dec 16
1
Model design
...dvance and ask for understanding in the simplicity of my question: I have data on the amount of grass per km in a cell ( of which i have lots) "grass" and for each cell i have x/y coordinates - required due to spatial autocorrelation Cells can be classfied in a hierarchical nature into AREAS and STATES i.e Cell 1, Cell 2, Cell 3 are all in AREA "A" where as Cell 4,5 and 6 are in AREA "B" However both area A + B are in state "S1" I have lots of these (13000) cells which are classfied into ~2000 AREA's and ~750 STATE'S So my question is do AREA&...
2011 Oct 04
1
F-values in nested designs
Hello all I'm trying to learn how to fit a nested model in R. I found a toy example on internet where a dataset that have?3 areas and 4 sites within these areas. When I use Minitab to fit a nested model to this data, this is the ANOVA table that I got: Nested ANOVA: y versus areas, sites Analysis of Variance for y Source DF SS MS F P areas 2 4.5000 2.2500 0.158 0.856 sites 9 128.2500 1...
2011 Mar 18
4
subset data frame with condition
Hello, One more question.. I have the data.frame "pop": xloc yloc gonad ind Ene W Area 1 23 20 516.74 1 0.02 20.21 1 2 23 20 1143.20 1 0.02 20.21 1 3 23 20 250.00 1 0.02 20.21 1 4 22 15 251.98 1 0.02 18.69 2 5 22 15 598.08 1 0.02 18.69 2 6 21 19 250.00 1 0.02 20.21 3 7 22 20 251.98 1
2006 May 25
5
Model Structure Advise
...relationship. Then I decided to add another level - Area. So I could make the system work for a wider audience (IT area has it''s own categories and FAQ''s, Sales area has it''s own categories and FAQ''s, etc.) I''m not sure how the best way to set this up - areas has_many categories has_many faqs, or areas has_many faqs and categories has_many faqs. Given the page will probably have a menu at the top to select the area, then will display the categories and faqs (with searching, etc.) ie. For area X, I''d need to select the faqs in that area, or the...
2013 Apr 04
3
summing vectors
Hi All, Year Area Q Bin FD I have a large dataset I need to re-structure. It looks something like this: 2000 1 1 5 0 2000 1 1 10 1 2000 1 1 15 23 2000 1 1 20 12 2000 1 1 25 1 2000 2 1 5 1 2000 2 1 10 3 2000 2 1 15 15 2000 2 1 20 11 2000 2 1 25 3 2000 1 2 5 0 2000 1 2 10 1 2000 1 2 15 23 2000 1 2 20 12 2000 1 2 25 1 2000 2 2 5 1 2000 2 2 10 3 2000 2 2 15 15 2000 2 2 20 11
2006 Dec 04
0
How to calculate area between ECDF and CDF?
...I'm a relative statistical novice) that calculates the area of the difference between the ECDF of the data and the CDF of the estimated function (somewhat like KS, which looks at the greatest distance between these). My thought is to compare this observed area to a distribution of simulated areas derived by monte carlo simulation (draw N random samples from the estimated function, calculating area, and repeat 1e5 times). If the observed area is greater than say 95% of the simulated areas, then I'd reject the fit. My problem is that I can't figure out how to efficiently calculate...
2007 Aug 10
3
having problems with factor()
Dear R Help, I have a set of data of heights of trees described by area that they are in. The areas are numerical (0 to 7). ht area 1 320 3 2 410 4 3 230 2 4 360 3 5 126 1 6 280 2 7 260 2 8 280 2 9 280 2 10 260 2 ....... 180 450 4 181 90 1 182 120 1 183 440 4 184 210 2 185 330 3 186 210 2 187 100 1 188 0 0 I want to convert the...
2006 Apr 13
1
Adding a title to an AJAX link.
Hello all. I am trying to add a title to a link_to_remote created AJAX link. What I want to create is: <a href="#" title="VALUE-HERE" onclick="new Ajax.Updater(''content'', ''/area/show/28/40'', {asynchronous:true, evalScripts:true}); return false;">Area Name</a> However I cannot seem to get it to work, the API says
2010 Aug 27
2
Nestad ANOVA with random Factors
Hi, I need a help. I am new in R and I need to run a nested anova with fixed and random factors (Mixed Model). I have a design with three factors: Day, Area and Plot and the dependent variable is density. The factors Day and Area are fixed while Plot is random, factor Area is nested in factor Day, and factor Plot is nested in Area. I can do it using aov by: mod1<-aov(density~ day +
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.
2006 Mar 26
2
Problem with names() in a plot after ordering a data.frame. Syntax or stupidity?
I am a complete newbie in R . Using R 2.2.0 Windows XP This started as a simple exercise to see if I could produce a simple Cleveland style dotchart with a line from the '2' axis to the dot rather than a continuous line as do "dotchart" and "dotchart2". At least I could not find that option. I got a crude program to work but it includes unnecessary steps.
2006 Oct 08
1
Probability of exceedance function question
I'm trying to calculate a cumulative area distribution (graph) of drainage areas. This is defined as P(A > A*). Simple in principle. I can do this in excel, with "COUNTIF", which will count the number of cells in the row "area" that have area A, then determine, for each cell in the row "area, how many cells exceede that area, then dividing that numbe...
2009 Oct 22
5
How to calculate the area under the curve
Hi all, I would like to calculate the area under the ROC curve for my predictive model. I have managed to plot points giving me the ROC curve. However, I do not know how to get the value of the area under. Does anybody know of a function that would give the result I want using an array of specificity and an array of sensitivity as input? Thanks, Olivier -- View this message in context:
2011 Jan 03
3
Inverse Gaussian Distribution
...data set. The predictor variables are gender, area and agecategory. For each of these variables I've defined a baseline e.g. #agecat: baseline is 3 data<-transform(data, agecat=C(factor(agecat,ordered=TRUE), contr.treatment(n=6,base=3))) The variable 'area' goes from A to F (6 areas: A,B,C,D,E,F) How can i manipulate the data to set the baseline of area to C? R is producing errors when I'm trying to do so. I'll be very thankful for any help you can provide. Louisa -- View this message in context: http://r.789695.n4.nabble.com/Inverse-Gaussian-Distribution-tp3172...
2013 Mar 18
2
OrgMassSpecR peak area issue
Hello! I am having an issue with the OrgMassSpecR package. I run my HPLC using a DAD detector. My raw data is exported form chemstation as a csv file. I then upload the csv into Rstudio no problem. Using the DrawChromatogram function, I get a nice chromatogram, and my retention time, peak area, and apex intensity values are given as well. The problem comes with the peak area value given. The
2002 Dec 04
1
use of offset - clarification
Hi Listers, seems I have forgotten some basics re offset in glm: data: counts (y) from locations off different size (area), explanatory variable: x Model: y ~ x+offset(area) Predictions (pred) using Poisson errors plot(x,y) and points(x,pred) gives neat "line" of estimated values. However, for ease of understanding graphs are better using plot(x,y/area). Question: How to display
2009 Jul 23
1
ggplot2 : commands on one line vs two lines.
I have just started using ggplot2 and I seem to be doing something stupid in writing ggplot2 commands on more than one line. In the example below the commands on one line are working fine, but as soon as I put them on two lines I get an error. Can any one point out what I am doing wrong? It must be something blindingly simple. Thanks Example