Skip to content

Search Archives

Search tips
from:Name Search by author name, e.g. from:Duncan Murdoch "exact phrase" Match an exact phrase word1 word2 Match messages containing both words Date range Use the date pickers to filter results to a time period

Use the list dropdown to narrow results to a specific mailing list. Combine from: with other terms to filter by author and content.

480 results for “from:Daniel Malter”

More complex historgram
Daniel Malter · May 13, 2010 · r-help

Are you asking us to do your homework? This is not a homework list. For the t-test look in any introductory R manual. For the histograms, look in the lattice library. HTH Daniel -- View this message in context: http...

Repeating a function in R
Daniel Malter · Jul 2, 2011 · r-help

You can just tell the function to create 1000 random numbers. See ?runif for the specifics. The arguments are n, min, and max. 'n' is the one you are looking for. Da. -- View this message in context: http://r.789695...

Nonparametric manova
Daniel Malter · Nov 16, 2007 · r-help

Hi, I have seen a discussion in the R-help asking whether nonparametric manova has been implemented in R yet. This discussion is form March 2006 and there seemed to be no package or function implemented at the time. Has...

a Weighted Least Square Model for a Binary Outcome
Daniel Malter · Jun 28, 2011 · r-help

You can specify the weights=... argument in the lm() function as vector of weights, one for each observation. Should that not do what your are trying to do? HTH, Daniel -- View this message in context: http://r.789695.n4.nabble...

Split data frame by conditional and column at the same time
Daniel Malter · May 13, 2010 · r-help

Does anything speak against selecting only x where x$B<20 and then splitting it by x$C? split(x[!x$B<20,],x$C) HTH, Daniel -- View this message in context: http://r.789695.n4.nabble.com/Split-data...

how do i put two scatterplots on same graph
Daniel Malter · Oct 3, 2011 · r-help

?plot ?points You will probably need to get some R basics down as to how to index certain subsets of your data. This you find in any introductory R manual. HTH, Daniel -- View this message in context: http://r.789695...

random sampling with levels and with replacement
Daniel Malter · Apr 8, 2011 · r-help

If you want perfect equality, split the data in good and bad and sample from the two samples individually. On average, however, random sampling from the entire data will reproduce the proportion of good and bad in the data. hth...

Standard deviation and Mean
Daniel Malter · Jun 14, 2011 · r-help

Hi, pick up any introductory manual of which there are many online. It so happens that the functions for mean and sd are called mean() and sd(). If you want to know how to use them type ?mean or ?sd...

Tobit Fixed Effects
Daniel Malter · Sep 14, 2011 · r-help

Not satisfactory in which sense? The survreg(Surv(Value,Censoring)~indvars+strata(id)) should/may work. For a discussion of Tobit fixed effects, see also Greene's website: http://pages.stern.nyu.edu/~wgreene/publications.htm under "Fixed Efects and...

sub / gsub - extracting between identical symbols
Daniel Malter · Nov 20, 2008 · r-help

Hi, I am trying to extract some numbers from a text string. The problem is that the delimiting symbols are identical so that I do not know how to tell "sub" between which of them to extract. The string looks...

summary stats on continuous data
Daniel Malter · Jun 15, 2010 · r-help

You can define a function that does just that: sum the 1s in Acc and divide by the length of Acc. Then use tapply to apply the function for each subject. f=function(x){sum(as.numeric(as.character(x...

How to draw a graphic using data with coordinates and production rate?
Daniel Malter · May 13, 2010 · r-help

Hi, assuming your production figures are in a square matrix, where points with no production take zero and points with production take the production figure, you could use image() This is the most basic approach I would think. Daniel -- View...

Wilcoxon signed rank test and its requirements
Daniel Malter · Jun 26, 2010 · r-help

Atte, note the similarity between what Greg described and a bootstrap. The difference to a true bootstrap is that in Greg's version you subsample the population (or in other instances the data). This is known as subsampling bootstrap and...

Very OT: World Cup Statistics
Daniel Malter · Jun 7, 2010 · r-help

these websites seem to have the data. though I have not checked for completeness. the rsssf in particular is seems to be concerned with collecting and archiving these kinds of football data: http://www.rsssf.com/tablesw/worldcup.html http...

execute R commands from Matlab
Daniel Malter · Aug 30, 2011 · r-help

They seem to have a workaround. I don't know whether anything better is available by now. http://www.mathworks.com/matlabcentral/newsreader/view_thread/163726 HTH, Daniel sarak wrote: > > Is it possible for anyone to upload a youtube video...

Regressions with fixed-effect in R
Daniel Malter · May 10, 2010 · r-help

There is the plm package for linear panel models. Further, since estimation of fixed effects models rests on the within-subject or -object variance, the R-squared of interest is typically the within R-squared, not the overall or between...

summary stats on continuous data
Daniel Malter · Jun 15, 2010 · r-help

Hi, you should be able to do most of your summaries using tapply() or aggregate(). for your example, tapply(d$Acc,list(d$Sample),table) Here tapply takes Acc, "splits" it by Sample, and then tables Acc (which returns how...

color specific(!) lines in different color with in parcoord plots
Daniel Malter · Jun 14, 2011 · r-help

Hi, Why does the second example on ?parcoord help page not help you with that? ?parcoord ir <- rbind(iris3[,,1], iris3[,,2], iris3[,,3]) parcoord(log(ir)[, c(3, 4, 2, 1)], col = 1 + (0:149)%/%50) If that does...

Data import
Daniel Malter · Sep 25, 2011 · r-help

Why would that be preferable to dropping the variables after importing the whole dataset? Daniel sassorauk wrote: > > Is it possible to import only certain variables from a SPSS file. > > I know that read.spss in the foreign library will bring...

For help in R coding
Daniel Malter · Jul 3, 2011 · r-help

Say you have the string x in a matrix x<-c('a,..gGGtTaac<!T','caaGGTT,,.!!@CC') x<-matrix(x) remove all punctuation: x1<-gsub('[[:punct:]]','',x) x1 convert all letter to lowercase x2<-gsub('(\\w*)','\\L\\1',x1,perl=T...

Can't find what you're looking for? Try searching with Google .