Displaying 20 results from an estimated 900 matches similar to: "Help- Fitting a Thin Plate Spline"
2013 Jun 16
1
trying to fit a thin plate spline to a triangular plot
Hi
Has anyone tried to fit a thin plate spine to a triangular plot before? I'm having trouble working out a piece of code to make it possible with three axes. I have done it before with two axes.
I've found a package I prefer that makes triangular plots (plotrix) using the triax.plot() function. An example of some data and the plot follows:
graph.data<-data.frame(a=c(9,6.2,
2011 Dec 03
1
problems using the thin plate spline method
Dear R users,
I am a beginner in R trying to apply the thin plate spline method to my climate data. I used the example in R to do so, and the lines seem to run fine ( I am not getting errors) but I am not getting any output in the form of graph or anything. I got a warning message saying that 'surface extends beyond box'.
Any help is much appreciated.
thanks
minti
2010 Apr 14
1
Selecting derivative order penalty for thin plate spline regression (GAM - mgcv)
Hi,
I am using GAMs (package mgcv) to smooth event rates in a penalized regression setting and I was wondering if/how one can
select the order of the derivative penalty.
For my particular problem the order of the penalty (parameter "m" inside the "s" terms of the formula argument) appears to
have a larger effect on the AIC/deviance of the estimated model than the
2013 Sep 22
2
Arcsine transformation
I am tryin to perform an arcsine transformation on my data containig
percentages as the dep. variable. Does anyone have a code that I could use
to do that? I am relatively new to R. Thanks for your help!
--
View this message in context: http://r.789695.n4.nabble.com/Arcsine-transformation-tp4676706.html
Sent from the R help mailing list archive at Nabble.com.
2007 Mar 13
1
Freeman-Tukey arcsine transformation
R-Experts:
Does anyone know if there are R functions to perform the Freeman-Tukey
double arcsine transformation and then backtransform it?
Thanks,
Brant Inman
Mayo Clinic
2010 Jun 09
1
back transforming arcsine transformations in metafor
Hi everyone,
I'm using the metafor package to meta-analyze a set of proportions. This is working really well for the raw proportions, but is there a way to back-transform the arcsine transformed proportions in the rma or forest functions with the atransf option? The estimates and CIs for the transformed proportions need to be back-transformed to be the sin of the estimate squared.
2003 Jan 09
2
GAM with Thin plate splines
Hello, I'm a student at the University of Klagenfurt / Austria and I
need some help !
I have to predict 24 daily load-values.
Therefor I got a dataset with following colums:
24 past daily load-values
6 past daily temperature-values
My goal is to find a model (GAM with thin plate splines) in R.
I found the function "gam" in the R-library "mgcv", but it just fits
2001 Apr 06
2
thin plate splines
Hi
Does someone knows if there's a function/package that can make thin
plate splines ? I've looked in mgcv and splines but I haven't found
anything.
Thanks
EJ
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
2008 Apr 30
2
arcsine transformation
I have been trying to preform both a bartlett's test and an arcsine
transformation on some average percentage data. I've tried inputting it
different ways and I keep getting the same error message:
> head(workingdata)
DYAD BEFORE AFTER
1 BG-FL 4.606772 5.787520
2 BG-LL 5.467503 7.847395
3 AD-MV 5.333735 11.107380
4 MM-FL 5.578708 12.063500
5 MM-MV 2.037605 6.415303
6 MM-RM
2005 Jan 27
4
self-written function
Dear all,
I?ve got a simple self-written function to calculate the mean + s.e.
from arcsine-transformed data:
backsin<-function(x,y,...){
backtransf<-list()
backtransf$back<-((sin(x[x!="NA"]))^2)*100
backtransf$mback<-tapply(backtransf$back,y[x!="NA"],mean)
2008 Mar 03
1
Barplot with grouping x axis and count data
Hello,
I am trying to make a barplot with nested count data which is build like
this: first there are several birds (n)laying 3 clutches composed of 2 eggs
half of the second and third clutch received treatment and this treatment
was tested to influence sex of offspring. I want a barplot showing counts
for male and female for every egg of every clutch. can someone tell me what
to do? I drew a
2007 Apr 19
4
convergence
hie..
how can i write a loop that makes algorithm keeps repeating until a solution
is converged?do i use a for loop? i know that we can use for loop to ask for
a number of repetitions, but how to use it to ask the algorithm to keep
repeating until a solution is converged?
Thanks
--
View this message in context: http://www.nabble.com/convergence-tf3606834.html#a10076822
Sent from the R help
2005 Aug 05
2
Embedded player
Hey folks,
I was hoping I could pick your guys' brains. I have been searching for a
flash player that I can embed onto my site, that would be capable of
playing an icecast stream. I have checked out a few, and they are all
limited to playing a static mp3 file. Has anyone worked with such a
thing and could give some recommendations?
Thanks,
Jim Kehoe
Hiway Radio
2005 Jan 18
1
chi-square and error bars?
This may sound crazy but...
I have data like this...
> results.matrix
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12]
[1,] 949 93 2 11 26 20 7 6 10 5 0 3
[2,] 1233 124 24 35 58 57 17 21 31 19 11 21
Which is the result of binning (summing) the response variables of an
underlying (nearly) continious range of predictor
2010 Dec 20
1
Metafor package
I have some question about metafor package.
I'm interest to perform a random effect meta-analysis of proportion
(single group summary of prevalence of disease in a population as
reported by different study)
It ask:
1. "PFT": The Freeman-Tukey double arcsine transformed proportion is
reported to be equal to 1/2*(asin(sqrt(xi/(ni+1))) +
asin(sqrt((xi+1)/(ni+1)))). Hovewer, i
2008 Mar 11
2
for a beginner - good rspec examples?
I''m learning to use rspec and I want to see some good examples.
Any recommendations of open source projects that demonstrate the use
of rspec?
So far I''ve found:
1) the Caboose sample app (http://sample.caboo.se/)
2) the Altered Beast forums app (http://beast.caboo.se/forums/1/topics/4650
)
Any others come to mind?
I''m especially interested in seeing
2012 Sep 27
1
What to use for ti in back-transforming summary statistics from F-T double square-root transformation in 'metafor'
Hi Dr. Viechtbauer,
I'm doing meta-analysis using your package 'metafor'. I used the 'IRFT' to transform the incident rate. But when I tried to back-transform the summary estimates from function rma, I don't know what's the appropriate ti to feed in function transf.iirft. I searched and found your post about using harmonic mean for ni to back-transform the double
2016 Apr 15
1
Heteroscedasticity in a percent-cover dataset
Hi,
I am currently trying to do a GLMM on a dataset with percent cover of
seagrass (dep. var) and a suite of explanatory variables including algal
(AC) and epiphyte cover (EC), rainfall, temperature and sunshine hours.
M2=glmer(SG~AC+EC+TP+SS+RF+(1|Location/fSi/fTr),
family=binomial,data=data,nAGQ=1)
As the dependent variable is percent cover, I used a binomial error
structure. I also have a
2007 Oct 17
1
Error message in GAM
Hello useRs!
I have % cover data for different plant species in 300 plots, and I use
the ARCSINE transformation (to deal with % cover data).
When I use a GLM I do not have any problem.
But when I am trying to use a GAM model using mgcv package, to account for
non-linearity I get an ?error message?.
I use the following model:
sp1.gam<-gam(asin(sqrt(0.01*SP1COVER))~
2006 Jan 24
4
nested ANCOVA: still confused
Dear R-users,
I did some more research and I'm still not sure how to set up an ANCOVA
with nestedness. Specifically I'm not sure how to express chicks nested
within boxes. I will be getting Pinheiro & Bates (Mixed Effects Models
in S and S-Plus) but it will not arrive for another two weeks from our
interlibrary loan.
The goal is to determine if there are urbanization (purban)