Displaying 20 results from an estimated 5000 matches similar to: "Replacing backslashes with slashes"
2006 May 23
1
shapes in rgl
Does anyone have a way of producing solid shapes other than spheres in
rgl? I am using rgl to produce a simple visualisation of a forest model
results using "lollipops". Its just a bit of fun, but as many of the
trees are pines I would like to depict their crowns as cones. If there
is a solution I need it to work under windows.
Here is the example.
library(rgl)
library(misc3d)
2005 Apr 11
8
Building R packages under Windows.
Hello,
My question is the following. Has anyone put together an "idiots"
checklist of the steps needed to build a (small personal) package under
Windows, or documented their own experiences of building packages under
Windows?
I ask this as last week there were some very interesting comments
regarding the advantages of putting personally written functions
together as a package
2005 Aug 27
2
writing to a fixed format (fortran) file
Could anyone help with what should be a simple task? I have data as a
fixed format (fortran) table. I have no trouble getting it into R using
read.table. Each column is separated by a space, including the first
column that begins with a space, and aligned. It reads into R as if
separated by tabs. However I want to manipulate two columns of data then
write the results out into exactly the
2007 Jul 19
3
Can I test if there are statistical significance between different rows in R*C table?
Dear friends,
My R*C table is as follow:
better
good
bad
Goup1
16
71
37
Group2
0
4
61
Group3
1
6
57
Can I test if there are statistical significant between Group1 and
Group2, Group2 and Group3, Group1 and Group2, taking into the multiple
comparisons?
The table can be set up using the following program:
a<-matrix(data=c(16,71,37,0,4,61,1,6,57),nrow=3,byrow=TRUE)
Thanks
2009 Oct 29
2
The 'subset matching' challenge
Dear all,
The following problem just has been submitted to me by an accountant.
In his new job, he has to close some old accounts. He has yearly
amounts, and a list of products that have been bought over the years, at
certain prices for which he has an exhaustive record. The problem is: He
does not know what product was bought this or that year (don't ask). He
does not want to find back
2005 Feb 01
3
polynomials REML and ML in nlme
Hello everyone,
I hope this is a fair enough question, but I don’t have access to a copy
of Bates and Pinheiro. It is probably quite obvious but the answer might
be of general interest.
If I fit a fixed effect with an added quadratic term and then do it as
an orthogonal polynomial using maximum likelihood I get the expected
result- they have the same logLik.
2013 Jan 23
1
New Book: Statistical Psychology with R [in French]
Dear useRs,
French reading people among you might be interested by the following book:
Noel, Y. (2013). Psychologie statistique avec R [Statistical psychology
with R, in French], coll. PratiqueR, Paris: Springer.
http://www.springer.com/psychology/book/978-2-8178-0424-8
This book provides a detailed presentation of all basics of statistical
inference for psychologists, both in a fisherian
2008 May 05
2
RODBC and schemas
I have found that the "schema.table" syntax used in Postgresql (and
Oracle) does not work directly with RODBC.
This works
library(RODBC)
con<-odbcConnect("mydb")
d<-sqlQuery(con,"select * from meso.trees")
However this does not.
d<-sqlFetch(con,"meso.trees")
Error in odbcTableExists(channel, sqtable) :
?meso.trees?: table not found on channel
2010 Aug 13
1
Lattice: Superimposing histograms with different colors and transparency effects
Dear users,
I would like to plot several histograms superimposed on the same panel
with different colors, with superimposed polygons appearing with
transparency effects. I also want estimated densities to appear on the
same plot. For several reasons, including that I like it, I want to use
the lattice package.
I have several questions regarding the use of the 'histogram' function
with a
2010 Apr 09
6
How to run Shapiro-Wilk test for each grouped variable?
I want to run Shapiro-Wilk test for each variable in my dataset, each
grouped by variable groupFactor.
I have these working commands:
> data.n<-names(data) # put names into a vector called data.n
> by(eval(parse(text=(paste("data",data.n[3],sep="$")))), data$factor, shapiro.test) #run shapiro.test
but I must to change the variable number manualy. How to automate
2003 Mar 31
2
point-biserial correlation
Dear list,
has anyone written a package/function in R for computing a point-
biserial resp. biserial correlation?
Thanks in advance
Bernd
2012 Jan 03
3
An R interface to Model Building
Hello all,
To anyone who is interested, I'm trying to learn a bit more about
developing applications in R with user interfaces. I've been playing
around with gWidgets to develop a model building interface.
I'd appreciate any comments, suggestions, or guidance on how to better
structure my R code and organize the programming task. In addition,
any suggestions for features and
2010 Sep 14
2
Object oriented programming in R.
Hello everyone.
I would like to create many objects with R. Does R support objects?
The number of objects needed is not predetermined and it is a parameter
specified by the user.
If the user selects to create many objects like 100, would it be possible to
handle each one by some index?
I would like to thank you in advance for your help.
Best Regards
Alex
[[alternative HTML version
2011 Sep 01
1
Hysteresis modeling and simulation
Can anyone suggest a package or code for modeling a hysteresis process in R?
I'm currently modeling a certain dataset with a GAM using mgcv, something
like
gam(y~ s(x, by=z) + z, family = Gamma(link=log),data=data)
and getting fits with about 9 estimated degrees of freedom in the smooth for
each value of z. FWIW, z is a treatment applied to a system which should
have made an improvement,
2007 Jun 04
3
Mandriva Spring 2007 and R
I am new to Linux (not to R) and recently installed Mandriva Spring 2007 on my partitioned hard drive. My next objective is to install R in the Linux environment, unfortunately Mandriva is not one of the Linux distributions available for download... Could someone please let me know which distribution I should use?
Thanks.
Jonathan
---------------------------------
Boardwalk for $500?
2012 Jan 19
4
Bayesian data analysis recommendations
Dear all,
I am trying to learn Bayesian inference and Bayesian data analysis, I
am new in the field. Would any experts on the list recommend any good
sites or materials for beginners?
My approach is to learn and understand the theory first, then program
on my own using R, though I see there are already packages.
appreciate any help, thanks in advance!
2000 Sep 29
2
Matrix inversion
I cannot find what is the function label for matrix inversion in R. I have
found 'ginv' for the moore-penrose in the MASS package, but there is
probably a simple inversion operator in the base package. Where can I find
it?
____________________________________________
Yvonnick Noel, PhD.
University of Lille 3
Department of Psychology
F-59653 Villeneuve d'Ascq Cedex
(+33) 320 41 63 48
2011 Nov 26
4
SPSS -> R
I'm an SPSS user trying to make the transition to R.
Can someone help me translate the following SPSS code into R?:
GLM Total_tp1 Total_tp2 WITH Age Sex
/WSFACTOR=Time 2 Repeated
/METHOD=SSTYPE(3)
/CRITERIA=ALPHA(.05)
/WSDESIGN= Time
/DESIGN= Age Sex Age*Sex.
Also. can anyone recommend any resources to help SPSS users learn to things in R?
Thanks,
-kristi
[[alternative HTML
2011 Nov 28
5
window manager interface commands for linux
How can i replicate this in Linux:
source(file.choose())
I've tried source(tkgetOpenFile()) but with no luck
2008 Jun 09
2
Comparing two groups of proportions
Hi,
I have a seemingly common problem but I can't find a proper way to approach
it. Let's say we have 5 samples (different size) of IC circuits coming from 5
production lines (A, B, C, D, E). We apply two different non-destructive QA
procedures to each sample, producing to sets of binary outcomes (passed:
no/yes). So, we have two groups of proportions:
QA1 QA2
no/yes no/yes
A