Displaying 20 results from an estimated 3000 matches similar to: "area under the curve"
2011 Jun 08
1
2.13 version doesn't load packages
Hi, I just installed the 2.13 version for Mac (without uninstalling the previous versions). I transferred the folder library containing the packages I normally use to the 2.13 library folder. When I require any package this is what I get:
require(ape)
Loading required package: ape
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object
2008 Jul 01
2
Area Under a Curve
I would like to integrate the area under a curve without any smoothing or
the like- just on the raw numbers. I looked at integrate() but it requires
a function which I assume means something like x+x^2+x^3
is there a built in function in R for this?
#let's say
x <- seq(1:50)
y <- seq(1:50)
plot(y~x)
# the are would be 1250
# I would like to be able to do this but on more complicated
2001 Jul 26
6
replacing values in a vector
Hi all,
there is a vector v with several NAs. I want to create a new vector n of
the same length as v and the same NAs as in v and tried this:
n <- vector(length=length(v), mode="numeric")
replace(n, which(is.na(v)), NA)
but this does't work, all values in n are 0. What went wrong?
Thanks, Sven
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
2002 Apr 10
3
Strange assignment bug (PR#1450)
Dear bugs @r;
The following reproduces erroneous results on my system using R-gui:
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status
major 1
minor 4.1
year 2002
month 01
day 30
language R
#####################################################
inter.gp.effect <- 0.1
animals <- data.frame(pos = 0:2)
SI.model <- function(Animal.group) {
2010 Jul 01
3
Calculate area under a curve
Hi,
I want to know the area under a curve, which is not given as a function, but
as values in a time series. It is not a smooth curve, but switches often
between positive values and zero (the values describe the moisture in the
soil over a year, one entry is one day). I already tried
area.between.curves, but got only 0 as result. I guess, it doesn't work
because of these multiple changes
2008 Jul 17
4
REvolution computing
Hi, everybody. Sorry to bring up the subject again but I have visited the revolution computing web page, but its not clear when or what will be the new release be. Does anybody have information about that?. Does anybody know if the version that will be released will be validated?. I have been reading the previous mails about validation and I work in a Pharma company and validation is a big
2008 Sep 05
3
Area of density
Hello!
Please, anybody help me.
Can I calculate area of density was created by:
> D <- density(x)
In other words I want to know area under curve 'plot(D)'
and It's good to calculate area before and after 0 separately.
--
View this message in context: http://www.nabble.com/Area-of-density-tp19338958p19338958.html
Sent from the R help mailing list archive at Nabble.com.
2010 Jun 18
5
convertir archivo texto en data frame
Tengo un archivo de texto donde cada línea es de la siguiente forma:
"aa-mm-dd hh:mm:ss Nombre Apellido"
¿Hay alguna forma de usar read.table o algo similar para obtener
directamente un data frame que tenga dos columnas donde una tenga la
fecha y quede de tipo PosiX y la otra character con el nombre
completo?
Gracias,
Sebastián.
2010 Nov 16
3
Anyone can help with this question
Hi there:
I am a total beginner in R, and I have a simple question:
I have a table with thousands of lines that represent locations, and two
columns: latitude and longitude. I need to randomly sample 1000 lines. How
do I do it? I know the command "sample", but it samples elements
independently, not lines.
If there is a better place for me to ask that type of question, please let
me
2009 Jul 04
1
De que otra forma se puede hacer
Hola que tal alguien de ustedes me podría auxiliar, lo que pasa es que estoy tratando de hacer un programa en R utilizando la siguiente tabla:
x<1 km
x>1km
Estabilidad
a
c
d
f
c
d
f
A
213
440.8
1.94
9.27
459.70
2.094
-9.6
B
156
106.6
1.15
3.30
108.20
1.098
2.0
C
104
61.0
0.91
0.00
61.00
0.911
0.0
D
68
33.2
0.73
-1.70
44.50
0.516
-13.0
E
51
22.8
0.68
-1.30
55.40
0.305
2011 Feb 06
2
Multiplying elements of vectors
Hi guys:
Sorry if this question is very basic. I?m learning basic matrix and
vectors multiplication to develop a population matrix model for
plants. I?m trying to multiply the elements of two vectors (each of
the ?x? values by each of the ?y? values) to obtain a square matrix of
xy values.
f.e.
x<-seq(5,205)
y<-seq(5,20,5)
stages<-c(?Sdl?, ?Juv?, ?Ad1?, ?Ad2?)
If I just multiply xy as
2010 Apr 27
1
Consulta
Estoy escribiendo una función en R para análisis de modelos lineales y tengo problemas al ejecutarla porque dicha función usa otra función, también creada por mi, y cuando ejecuto al primera me dice que no encuentra la segunda. Ambas funciones están guardadas en la carpeta work y al entrar al programa siempre cambio el directorio a work. No sé cual es el problema, si está mal el search-path o es
2008 Dec 20
2
Print a list in columns
Dear R-Users
I have a list with two vectors of doubles tha have different lengths. I want
to export it to a file and I also want to print it in two columns.
I try with write.table but it need vectors of the same length.
Does anyone know how to do it?
Thanks
Borja
[[alternative HTML version deleted]]
2002 Sep 19
5
how to use if statement in function correctly
Dear all
I try to persuade if statement in my function to work as I want (but I am not very
successful:(
My question is why my function with if statement is evaluated correctly in case of
atomic variables and incorrectly in case of vector variables.
Here is an example:
#function with if statement
fff <- function(otac,sklon)
{
test <- (otac *
2007 Oct 03
3
Factor levels.
I have factors with levels ``Unit", "Achieved", and "Scholarship"; I
wish to replace these with
"U", "A", and "S".
So I do
fff <- factor(fff,labels=c("U","A","S"))
This works as long as all of the levels are actually present in the
factor. But if ``Scholarship'' is absent
(as if often is) then
2012 May 17
2
MANOVA with random factor
Dear All
I would need to perform a MANOVA with both fixed (group, sex, group*sex) and
random (brood) effects. I wonder if this is at all possible and if R does that.
At the moment, I only know that I can run a classic MANOVA with R.
Thank you
David
______________________________________________
David Costantini, PhD
http://www.davidcostantini.it
NERC Postdoctoral research associate
2015 Oct 09
2
[PATCH 2/2] kvm/x86: Hyper-V kvm exit
On 09/10/2015 15:39, Denis V. Lunev wrote:
> From: Andrey Smetanin <asmetanin at virtuozzo.com>
>
> A new vcpu exit is introduced to notify the userspace of the
> changes in Hyper-V synic configuraion triggered by guest writing to the
> corresponding MSRs.
>
> Signed-off-by: Andrey Smetanin <asmetanin at virtuozzo.com>
> Reviewed-by: Roman Kagan <rkagan at
2015 Oct 09
2
[PATCH 2/2] kvm/x86: Hyper-V kvm exit
On 09/10/2015 15:39, Denis V. Lunev wrote:
> From: Andrey Smetanin <asmetanin at virtuozzo.com>
>
> A new vcpu exit is introduced to notify the userspace of the
> changes in Hyper-V synic configuraion triggered by guest writing to the
> corresponding MSRs.
>
> Signed-off-by: Andrey Smetanin <asmetanin at virtuozzo.com>
> Reviewed-by: Roman Kagan <rkagan at
2002 Nov 08
1
Using the ``...'' argument.
Suppose that I have a function fff which calls a couple of functions
foo and bar, and that foo takes optional arguments a and b, and bar
takes optional arguments u and v.
Is there an elegant way of passing ***both*** sets of optional
arguments via a ``...'' argument for fff?
I'd like to be able to have a structure like:
fff(x,y,z,...) {
.
a1 <- foo(x,y,...)
b1
2015 Oct 11
4
UEFI: Failed to load ldlinux.e64/ldlinux.e32
On Oct 11, 2015 1:26 AM, "Michael Glasgow" <glasgow at beer.net> wrote:
>
> Gene Cumm wrote:
> > >> My test x86-64 binaries:
> > >>
> > >>
https://sites.google.com/site/genecsyslinux/sl604p0g17-x64.tgz?attredirects=0&d=1
> >
> > On Fri, Oct 2, 2015 at 4:46 PM, Derrick M <derrick.martinez at gmail.com>
wrote:
> >