Dear R-Users,
I am fairly new to R and got in trouble by understanding how to run a GAM
using penalized regression splines with 4 degress of freedom (even by
reading the R Documentation).
I tried the following:
gamreg1.2-gam(num_FCRlong ~ s(GDP,df=4)+s(cupol_GDPpCapita,df=4)
+
Dear R users,
I have a problem in R plot. I want to plot a multipanel chart (eg 4
subplots like in the following code), but I want to remove the line of the
first 3 x axis, without break the multipanel box. Is there a possibility to
succeed?
Thank you very much!
#Generate the data for the four
-Original Message-
I have a problem in R plot. I want to plot a multipanel chart (eg 4 subplots
like
in the following code), but I want to remove the line of the first 3 x axis,
without break the multipanel box. Is there a possibility to succeed?
You could specify axes=FALSE (see
Hi,
I used to write C++ code. write what i want in a function ..pass pointers if i
want to change the object real value...
here i want to ask
in R, igraphshould i write the script as lines without functions..to change
graph attributes or edges attributes or some values of the
what is randomForest Model and package Discription plz.
Regards,
Amaleswara Rao.Rajulapati
___
Amaleswara Rao.Rajulapati
Analyst
Nuevora
Outthink. Outperform
www.nuevora.com
[[alternative HTML version deleted]]
Hi Katharina, what gam package are you using? With mgcv you can inspect
the results of the output variables to check whether the fixed field is
true which would indicate whether the df is fixed or floating. I'm not
sure if this is applicable to what you want.
My rough translation of your German
Running 3.0.2 on Slackware here. Tried to install.packages() for both
princomp and prcomp (Principal Components Analysis) but R responded by
telling me neither is available for this version of R.
Has anyone an idea when either (but especially prcomp) might be available?
TIA,
Rich
--
Dear R users,
I have a multiplot graph in R (in the following code), but I don't know how
to make (draw ) a contour line for entire multipanel.
Please help me to solve this problem.
Thank you very much!
#Generate the data for the four graphs
x - seq(1, 50, 1)
y1 - 10*rnorm(50)
y2 -
The Predict.Plot function in the TeachingDemos package (and the
related TkPredict function in the same package) are one option for
creating plots to show interactions and non-linear relationships with
continuous (and mix of continuous and factor variables).
On Sun, Feb 16, 2014 at 6:34 AM, carol
Both are functions (not packages) and available in the stats package.
ir. Thierry Onkelinx
Instituut voor natuur- en bosonderzoek / Research Institute for Nature and
Forest
team Biometrie Kwaliteitszorg / team Biometrics Quality Assurance
Kliniekstraat 25
1070 Anderlecht
Belgium
+ 32 2 525 02
Both functions (not packages) are included in package stats
which is part of the standard R installation. Have you tried?
?prcomp
?princomp
-
David L Carlson
Department of Anthropology
Texas AM University
College Station, TX 77840-4352
-Original
On Wed, 19 Feb 2014, ONKELINX, Thierry wrote:
Both are functions (not packages) and available in the stats package.
Thierry,
Thank you. I saw it referenced as a package in my Web search.
Rich
--
Richard B. Shepard, Ph.D. | Have knowledge, will travel.
Applied Ecosystem
you can also use equal.count() from lattice to split up your continuous
variables, then enter them as conditioning variables eg in xyplot()
Von: r-help-boun...@r-project.org [r-help-boun...@r-project.org]quot; im
Auftrag von quot;Greg Snow
Below is a somewhat more general version of David's function,
which allows a choice of the association statistic from
vcd::assocstats(). Of course, only Cramer's V is calculated
on a scale of 0-1 for an absolute-value measure of strength
of association, but this could be accommodated by scaling
So are the names of the columns in the dataset x, y, and z? or are
they area, concentration, and year? you seem to be mixing these
together? If you provide a minimal reproducible example (provide some
data with dput, or the commands to generate random data, or use a
built in dataset) then it
I'm trying to extract all of the values from edm in the example below.
However, the first attempt only retrieves the final number in the sequence
since it is recorded using scientific notation. The second attempt
retrieves all of the numbers, but omits the scientific notation component
of the
On Feb 19, 2014, at 12:26 PM, Morway, Eric emor...@usgs.gov wrote:
I'm trying to extract all of the values from edm in the example below.
However, the first attempt only retrieves the final number in the sequence
since it is recorded using scientific notation. The second attempt
retrieves
# Data manipulation problem #
Please my Git repo at https://github.com/markruddy/RAD.git
Running RStudio 0.97.248
The dataset RYA13Report_transect_AB.csv is in a sort of 'longform' at the
moment. Which I would like to change so that:
1. Each Pack_Name is a column
2. Each BH_Name is a row
3.
On 19/02/2014 15:47, Rich Shepard wrote:
Running 3.0.2 on Slackware here. Tried to install.packages() for both
princomp and prcomp (Principal Components Analysis) but R responded by
telling me neither is available for this version of R.
Has anyone an idea when either (but especially
Just wanted to suggest that you check out the reshape2 package. A lot
of folks have complained that R's base reshape() command is rather
opaque, and Hadley Wickham wrote his package to facilitate this sort
of thing.
Cheers,
Bert
Bert Gunter
Genentech Nonclinical Biostatistics
(650) 467-7374
Dear all,
I have a data frame with a status column and some condition columns. (a dput
of part of it is listed below).
I would like to know if:
1) There are more chances to have a status of 1 when more than one
conditions have the value of 1 ?
2) The status column is depending on any one or
Hi Bert,
yes I have reshape2. Apols for not being more precise. Spent over an hour with
reshape2 and web examples but I'm stuck.
cheers
Mark
On 19 February 2014 at 19:19:22, Bert Gunter (gunter.ber...@gene.com) wrote:
Just wanted to suggest that you check out the reshape2 package. A lot
of
The quickest way, using the example data, would be
matplot( df$x, df[,-1])
Obviously doesn't have the nice ggplot style, but it does do what was
requested. And depending on the context and ultimate goal, may be
sufficient.
Simple improvements are easy:
matplot( df$x, df[,-1],
You might want to try reading
http://vita.had.co.nz/papers/tidy-data.html, which lays out the
principles by which you might want to organise your data, matching
each task with the appropriate reshape2 function.
Hadley
On Wed, Feb 19, 2014 at 9:18 AM, drruddy gmail drmarkru...@gmail.com wrote:
Thanks for the link Hadley.Â
On 19 February 2014 at 19:53:31, Hadley Wickham (h.wick...@gmail.com) wrote:
You might want to try reading
http://vita.had.co.nz/papers/tidy-data.html, which lays out the
principles by which you might want to organise your data, matching
each task with the
Dear R users,
I am currently working on developing two packages, below is a simplified
version of my problem:
In package A I have some functions (say sum_twice), and I it calls to
another function inside the package (say slow_sum).
However, in package B, I wrote another function (say fast_sum),
library(reshape2)
data.melt - melt(data, id.vars = c('BH_ID', 'BH_Name', 'Pack_Name'))
dcast(dm, BH_Name ~ Pack_Name)
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of drruddy gmail
Sent: Wednesday, February 19, 2014 7:18 AM
To:
I'm trying to replicate the linear regression plot on pages 112-113 in
Peter Dalgaard's Introductory Statistics with R and getting the error that
plot.new has not been called yet.
A Web search on that error offered suggestions to run plot.new() or x11(),
but all those do is put up an empty
On Wed, 19 Feb 2014, Rich Shepard wrote:
What have I missed here?
Answer: keeping the plot window open when issuing the abline() command.
Rich
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of Rich Shepard
Sent: Wednesday, February 19, 2014 4:05 PM
To: r-help@r-project.org
Subject: [R] ISwR Plotting Issue
I'm trying to replicate the linear regression plot on pages
Hi Farnoosh,
Try:
library(plyr)
res - join(`DATA-A`,`DATA-B`,by=Var1,type=right)[,c(3,1:2,4)]
head(res)
# ID Var1 Var2 var3
#1 1 AETNA CARDINAL CARE TIER 2 NA 10
#2 2 AETNA EPO Group1 110
#3 3 BLUE CARD INTE Group1 2
#4 4
On Feb 19, 2014, at 4:03 AM, Amaleswara Rao wrote:
what is randomForest Model and package Discription plz.
You done what sort of searching, plz
Regards,
Amaleswara Rao.Rajulapati
___
Amaleswara Rao.Rajulapati
Analyst
Nuevora
please, how can i generate ten different estimated parameter with multiple y,
response from the following response.
true.slope-5
true.err.var-3.7
n.iter-100
s.sample-10
estimates-matrix(NA,nrow=n.iter,ncol=2)
list-list()
s.sample-10
x-10*runif(s.sample)
for(i in 1:n.iter) {
+
33 matches
Mail list logo