[R] r function for calculating extreme spread in group

2008-08-27 Thread Steven Matthew Anderson
al to j I have 60 levels to apply this to. There is the combination function in the dprep package but I wasn't sure how to use this or apply an index the points in each group. Any ideas? Steve Steven Matthew Anderson [EMAIL PROTECTED] Ad Astra

Re: [R] r function for calculating extreme spread in group

2008-08-27 Thread Steven Matthew Anderson
} > tapply(X=ES.Data,INDEX=Level,FUN=ES) Error in tapply(X = ES.Data, INDEX = Level, FUN = ES) : arguments must have same length On Aug 27, 2008, at 2:30 PM, Jorge Ivan Velez wrote: > R-help@r-project.org Steven Matthew Anderson [EMAIL PROTECTED] Ad Astr

[R] predicted values after fitting gamma2 function

2009-06-25 Thread Steven Matthew Anderson
inear predictors: log(mu), log(shape) Dispersion Parameter for gamma2 family: 1 Log-likelihood: -276.0009 on 181 degrees of freedom Number of Iterations: 20 Now - how do I get this information to give me predicted values given the same x-values I used in the experimental model (i.e. from Max.brk

[R] exporting data to csv file -problem with column names

2009-06-01 Thread Steven Matthew Anderson
I have a data.frame with three columns + the row number Sample MidPoint Count [1,] 10.025 1 [2,] 10.075 3 [3,] 10.12515 [4,] 10.17512 [5,] 10.225 5 [6,] 10.275 8 When I export the data to a csv

[R] variable driven csv file names?

2009-06-01 Thread Steven Matthew Anderson
Is it possible to have variable driven csv file names? Such as: ds.name<-"bob.csv" write.table( distribution.data, file = "~//Documents/Research/Distribution Analysis/ds.name", sep = ",", col.names = FALSE, qmethod = "double&q

[R] turn off graphic plot in histogram()

2009-06-01 Thread Steven Matthew Anderson
Is there a way to just produce the data object in histogram() and not run the plot portion? All I want it the $mids and $counts. Thank you Steven Matthew Anderson Anderson Research, LLC Statistical Programming and Analysis SAS (R) Certified Professional adastr...@mac.com Ad Astra per

[R] hist returning density larger than 1

2009-06-04 Thread Steven Matthew Anderson
mulation.Data, file=paste(dir,"/DATA/Simulation_Data.csv",sep=''), sep=",", quote=FALSE, row.names=FALSE, qmethod="double") Steven Matthew Anderson Anderson Research, LLC Statistical Programming and Analysis SAS (R) Certified Professional adastr

[R] p-values from VGAM function vglm

2009-06-05 Thread Steven Matthew Anderson
pt):2 2.3498e+00 1.7541e-01 13.39574 Count -3.0084e-05 8.9484e-05 -0.33619 Number of linear predictors: 2 Names of linear predictors: log(mu), log(shape) Dispersion Parameter for gamma2 family: 1 Log-likelihood: -26.39268 on 123 degrees of freedom Number of Iterations: 8 Steven Matthew A