Displaying 20 results from an estimated 80 matches similar to: "newbie questions - looping through hierarchial datafille"
2005 Feb 25
3
passing command line arguments to 'R CMD BATCH myScript.R'
Hi Community,
I have a question about how to pass command line parameters to R script
running in the batch mode. The problem is: there is a banch of data
files which are to be processed by R script called from a web-server,
i.e. in the batch mode. The web server generates data files and passes
their names calling 'R CMD BATCH' one by one for every file. Now the
question is how to
2009 Nov 24
6
From R to LaTeX to pdf?
Hi all,
Anyone experienced in the LaTeX format?
I'm trying to use the xtable package to create nice anova tables, but how do I do to produce a pdf from the resulting LaTeX table? I've tried WinShell and MiKTeX, but I couldn't get any of them working...
Here's an example of the output in R:
% latex table generated in R 2.9.2 by xtable 1.5-6 package
% Tue Nov 24
2012 Nov 14
2
aggrete data from combination
Dear R users,
A have a dataframe (matrix) with two collumns (plot, and diameter (d)). I
want all diameters values for different combination of plots.
For example I want all d values for all posible combination, 100C2 (all d
values for plot 1 with all d values in the plot 2.......with all d values
from plot 1 with all d values from plot 100, ...... with all d values from
plot 99 with all d values
2006 Jul 08
2
String mathematical function to R-function
hello
I make a subroutine that give-me a (mathematical)
function in string format.
I would like transform this string into function ( R
function ).
thanks for any tips.
cleber
#e.g.
fun_String = "-100*x1 + 0*x2 + 100*x3"
fun <- function(x1,x2,x3){
return(
############
evaluation( fun_String )
############
)
True String mathematical function :-( :-(
> nomes
[1]
2024 Jul 16
2
Automatic Knot selection in Piecewise linear splines
>>>>> Anupam Tyagi
>>>>> on Tue, 9 Jul 2024 16:16:43 +0530 writes:
> How can I do automatic knot selection while fitting piecewise linear
> splines to two variables x and y? Which package to use to do it simply? I
> also want to visualize the splines (and the scatter plot) with a graph.
> Anupam
NB: linear splines, i.e. piecewise
2017 Jan 16
1
Sieve: fileinto :create issue with Public Folder
Hello Community,
I face the following issue:
- using a sieve script to file into a existing private folder: ok
- using a sieve script to file into new private folder using ":create": ok
- using a sieve script to file into a existing public folder: ok
- using a sieve script to file into new public folder using ":create": NOK !
The returned message is: "Permission
2020 Sep 17
2
Spotlight with Elasticsearch
Hi,
Is anyone using Spotlight with Elasticsearch in production and what kind of tweaking have you had to do? Certain search types seem to work out of the box, but others not. Perhaps fscrawler and Elasticsearch need some customization that the wiki doesn?t mention. There also seems to be a difference in using the main search box in the Finder window or the more granular options below, even if
2012 Feb 17
1
expunging
I am having trouble scaling some regular dovecot cleanup operations on
our servers. On a daily basis, I'm wanting to do this on each server,
which contains its own isolated set of user storage:
/usr/bin/doveadm expunge -A mailbox Trash* savedbefore 21d
/usr/bin/doveadm expunge -A mailbox Spam savedbefore 7d
/usr/bin/doveadm expunge -A mailbox Sent savedbefore 120d
but these are a very
2004 Mar 25
1
yet another fast BLAS (from AMD this time)
Dear R-devel,
Has anyone played with this?
http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_2282,00.html
<http://www.amd.com/us-en/Processors/DevelopWithAMD/0,,30_2252_2282,00.html>
.
I'll probably give it a shot...
Best,
Andy
Andy Liaw, PhD
Biometrics Research PO Box 2000, RY33-300
Merck Research Labs Rahway, NJ 07065
mailto:andy_liaw@merck.com
2024 Jul 09
1
Automatic Knot selection in Piecewise linear splines
How can I do automatic knot selection while fitting piecewise linear
splines to two variables x and y? Which package to use to do it simply? I
also want to visualize the splines (and the scatter plot) with a graph.
Anupam
[[alternative HTML version deleted]]
2012 Nov 14
5
aggregate combination data
Dear R users,
I want to aggregate all *d *data from all combination of n *plots* taken
by k.
Thank very much!
My data is like that:
plot d 1 14 1 13 1 12 1 14 1 18 1 20 1 21 1
43 1 108 1 43 2 41 2 61 2 83 2 61 2 84 2 45 2 21 2 12 2 11 ... 100
10
100 12
--
---
Catalin-Constantin ROIBU
Forestry engineer, PhD
Forestry Faculty of Suceava
2012 May 16
3
Wrong Q3 + Mean.
Hi.
> a
[1] 13 13 14 14 15 15 16 20 21 26
> summary(a)
Min. 1st Qu. Median Mean 3rd Qu. Max.
13.0 14.0 15.0 16.7 19.0 26.0
> mean(a)
[1] 16.7
> quantile(a)
0% 25% 50% 75% 100%
13 14 15 19 26
Clearly, this is not right. My Instructor and I have no idea why the program
does that. I removed the program from the computer , installed it
2024 Jul 26
1
Automatic Knot selection in Piecewise linear splines
dear all,
I apologize for my delay in replying you. Here my contribution, maybe
just for completeness:
Similar to "earth", "segmented" also fits piecewise linear relationships
with the number of breakpoints being selected by the AIC or BIC
(recommended).
#code (example and code from Martin Maechler previous email)
library(segmented)
o<-selgmented(y, ~x, Kmax=20,
2008 Aug 07
2
Problems using hetcor (polycor)
Sorry if this post should be long but I tried to give you a piece of my data
to reproduce my error message using hetcor:
Fehler in result$rho : $ operator is invalid for atomic vectors
Zus?tzlich: Warning messages:
1: In polychor(x, y, ML = ML, std.err = std.err) :
1 row with zero marginal removed
2: In polychor(x, y, ML = ML, std.err = std.err) :
the table has fewer than 2 rows
Error in
2006 Jan 01
11
Can rails make use of accesskeys?
I added :accesskey=>"D" to the html options hash of my link_to tag
but nothing happened.
Should I keep trying or is this not an option yet?
bruce
2017 Oct 13
0
How to define proper breaks in RFM analysis
Hi
Your statement about attaching data is problematic. We cannot do much with it. Instead use output from dput(yourdata) to show us what exactly your data look like.
We also do not know how do you want to split your data. It would be nice if you can show also what should be the bins with respective data. Unless you provide this information you probably would not get any sensible answer.
Cheers
2012 Jun 15
8
Apply() on columns
Hi,
I have some trouble with the following: I have a table of 7 rows and
6columns. The columns 1,2,3 have information about the number of employees.
The columns 4,5,6 have information about the number of working hours. Each
row, is corresponding with a week.
My goal is to make a boxplot, histogram etc. of the columns 4, 5 and 6
(thus, the data of the number of working hours). How can I select by
2017 Oct 12
3
How to define proper breaks in RFM analysis
Hello,
I'm working on RFM analysis and i wanted to define my own breaks but my
frequency distribution is not normally distributed so when I'm using
quartile its not giving the optimal results.
so I'm looking for a better approach where i can define breaks dynamically
because after visualization i can do it easily but i want to apply this
model so that it can automatically define the
2017 Oct 13
2
How to define proper breaks in RFM analysis
Hey,
i want to define 3 ideal breaks (bin) for each variable one of those
variables is attached in the previous email,
i don't want to consider quartile method because quartile is not working
ideally for that data set because data distribution is non normal.
so i want you to suggest another method so that i can define 3 breaks with
the ideal interval for Recency, frequency and monetary to
2008 Aug 13
2
mob(party) formula question
I try tu use mob() with my data.frame ('data.frame': 288 obs. of 81
variables; factors, numerics and ordered factors)
My response is a binary variable and I should use for modelling a logistic
regression (family=binomial).
I read in the "MOB" Vignette that I could use a formula like this if I would
like to have only partitioning variables apart from the response.