similar to: Calculate individual R2n values

Displaying 20 results from an estimated 400 matches similar to: "Calculate individual R2n values"

2009 May 13
1
Nagelkerkes R2N
Hello All, as I?m new to R and survival analysis, I?ve got a question about the Design::validate function: My Code: cox <- cph(Surv(t,status) ~ var1 + var2 + var3, data=data, x=TRUE, y=TRUE, surv=TRUE) cox.val <- validate(cox, B=10, dxy=TRUE, pr=TRUE); My output (cox.val): index.orig training test Dxy -0.3639222921368090891
2009 Nov 22
0
Adding columns to lower level of list
Dear List, I have very little experience with lists and am having some very basic problems. I don't know how to add columns to the lower levels of a list, or how to take something from the upper level and add it as a column to the lower level. I am analyzing animal movement data in the package Adehabitat. I have a list of animal movements called "cut.ltr" (class ltraj) that have
2009 Jul 15
0
Nagelkerkes R2N
I am interested Andrea is whether you ever established why your R2 was 1. I have had a similar situation previously. My main issue though, which I'd be v grateful for advice on, is why I am obtaining such negative values -0.3 for Somers Dxy using validate.cph from the Design package given my value of Nagelkerke R2 is not so low 13.2%. I have this output when fitting 6 variables all with
2006 Feb 28
0
burst argument in as.ltraj()
Hi. I am running the as.ltraj () function in adehabitat (v 1.4 under R 2.2.1) but can't seem to correctly specify the burst argument. i.e., the ltraj object returned consists of only one component, when in fact my data consist of more than one burst of reloctions per animal. i've set up the data (xy, date, id, burst) in list form following the example given in ?as.ltraj. to simplify,
2011 Aug 23
0
How to assign vector value as object name
Dear list, I have a table with entries for 20 animals - x and y coordinates to analyze movement with the package adehabitat. The package does all the necessary analyses, but I need to create an object of class ltraj for each animal first. For this kind of object I need to define xy coordinates, id, and few other things for each individual. Now I don't want to run a code 20 times
2007 May 31
0
adehabitat version 1.6
Dear all, I have just uploaded to CRAN the version 1.6 of the package 'adehabitat'. Significant changes are listed below: * The package has been reorganized into four parts (see ?adehabitat-package for a description): (i) management of raster maps, (ii) habitat selection / ecological niche analysis, (iii) home range analysis, and (iv) analysis of animals trajects. The package contains
2007 May 31
0
adehabitat version 1.6
Dear all, I have just uploaded to CRAN the version 1.6 of the package 'adehabitat'. Significant changes are listed below: * The package has been reorganized into four parts (see ?adehabitat-package for a description): (i) management of raster maps, (ii) habitat selection / ecological niche analysis, (iii) home range analysis, and (iv) analysis of animals trajects. The package contains
2009 Jul 24
3
Duplicated date values aren't duplicates
Dear list, I just had a function (as.ltraj in Adehabitat) give me the following error: "Error in as.ltraj(xy, id, date = da) : non unique dates for a given burst" I checked my dates and got the following: > dupes<-mydata$DateTime[duplicated(mydata$DateTime)] > dupes [1] (07/30/02 00:00:00) (08/06/03 17:45:00) Is there a reason different dates would come up as duplicate
2012 Dec 17
1
Triple Integration in R
I'm using Kernel Utilization distributions to estimate overlap in animal territories. There are various ways to calculate this overlap and one of the equations is : V.I. = ??? min (f1 (x,y,z), f2 (x,y,z)) dxdy where f1 = utilization distribution for bird 1 in 3 spatial dimensions (x,y,z). I can produce these already, but no idea how to do the rest. Thoughts? -- View this message in
2011 Feb 09
0
adehabitatMA, LT, HR and HS version 0.1
Dear all, I have just uploaded 4 new packages on CRAN, which are on the long term designed to replace the "old" package adehabitat: * adehabitatMA: functions to perform spatial operations (morphology, buffer, etc.) * adehabitatHS: functions for the analysis of habitat selection by wildlife * adehabitatHR: functions for home range estimation of animals * adehabitatLT: functions for
2011 Feb 09
0
adehabitatMA, LT, HR and HS version 0.1
Dear all, I have just uploaded 4 new packages on CRAN, which are on the long term designed to replace the "old" package adehabitat: * adehabitatMA: functions to perform spatial operations (morphology, buffer, etc.) * adehabitatHS: functions for the analysis of habitat selection by wildlife * adehabitatHR: functions for home range estimation of animals * adehabitatLT: functions for
2006 Feb 23
0
adehabitat version 1.4
Dear all, I have just uploaded to CRAN the version 1.4 of the package 'adehabitat'. Significant changes are listed below: - The eigenanalysis of selection ratios (Calenge and Dufour, 2006, Ecology) can now be performed using the function eisera(). It can be used for the analysis of habitat selection when habitat can be considered to consist of several habitat types (e.g.
2006 Feb 23
0
adehabitat version 1.4
Dear all, I have just uploaded to CRAN the version 1.4 of the package 'adehabitat'. Significant changes are listed below: - The eigenanalysis of selection ratios (Calenge and Dufour, 2006, Ecology) can now be performed using the function eisera(). It can be used for the analysis of habitat selection when habitat can be considered to consist of several habitat types (e.g.
2011 Aug 25
4
{R} How to extract correctly from vector?
Dear list, I have problem that I cannot solve and would like to ask your opinion. I tried to ask a few days ago already but got no answer and all my attempts to solve it by myself since then failed. Sorry for repeated posting! Here the problem broken down a bit. My problem basically is, that I want to use the elements of a character vector as names for objects and by recalling only the
2008 Mar 25
3
derivatives in R
Hi, I posted this message earlier in "Rmetrics" and I don't know whether I posted in the wrong place, so I'm posting it again in Rhelp. I have a function in x and y and let's call it f(x,y). I need to get the Hessian matrix. i.e I need (d^2f/dx^2), (d^2f/dxdy), (d^2f/dydx), (d^2f/dy^2).I can get these using the D function. now I need to evaluste the hessian matrix for
2012 Oct 28
1
Trouble with first passage time analysis using adehabitatLT
Hey all, I've run into a few problems running first passage time analysis. I'm hoping someone might be able to help me sort this out. I'm fine up to the point of creating the ltraj object from a dataset. /test<-read.table("~/Desktop/R_Directory/test.txt",header=TRUE) attach(test) library(adehabitatLT) xy<-test[,c("x","y")]
2012 Feb 08
1
get information on .C code
Dear R list, I have a package downloaded and looked up a function in there. Now I find that it uses C code (.C call) to do part of its job. However, when I wanted to look that part up by using getAnywhere() I was told that no object of that name could be found. Then I tried typing C.(" funct.name") which only caused R to crash. Is there any way to look up the function? I'm not
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
Thank you for providing the example code... for the request of running it multiple times it would have helped if you could have confirmed that the example ran through without errors... there were a lot of mistakes in it. Look into using the reprex package to check your example next time. I don't do this kind of analysis... I really don't know what to expect from the functions. The
2017 Aug 19
0
My very first loop!! I failed. May I have some start-up aid?
[answers inline] On 18 August 2017 at 20:08, Dagmar <Ramgad82 at gmx.net> wrote: > > myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"), > Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00", > "25.09.2012 10:00"),
2013 May 17
1
Error with adehabitatHR and kernelbb
Dear all, I'm trying to get a Brownian bridge kernel (kernelbb) for each combination of two consecutive animal locations (see commands below) and put them, with a loop, inside a list. It works well at the beginning but after 42 runs, it appears the following warning : >Error in seq.default(yli[1], yli[2], by = diff(xg[1:2])) :  >  invalid (to - from)/by in seq(.) I looked at the