Re: [R] merging or joining 2 dataframes: merge, rbind.fill, etc.?

2013-02-26 Thread Jeff Newmiller
the memory fragmentation associated with incrementally appending the data. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] upgrading r-base

2013-02-27 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries

Re: [R] cumulative sum by group and under some criteria

2013-02-27 Thread Jeff Newmiller
document to be familiar with, though I recommend avoiding the use of attach/detach discussed in 6.3.2. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] interactive visualizations - anyone use SVGAnnotation?

2013-03-01 Thread Jeff Newmiller
Try RStudio's Shiny. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO

Re: [R] solving x in a polynomial function

2013-03-01 Thread Jeff Newmiller
help.search(polynomial) --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO

Re: [R] Mysterious issues with reading text files from R in ArcGIS and Excel

2013-03-04 Thread Jeff Newmiller
list if there are odd characters at fault). For what it is worth, TXT is not a clearly-defined format, so this could be more effectively addressed by using a more specific format for data exchange. --- Jeff Newmiller

Re: [R] About basic logical operators

2013-03-05 Thread Jeff Newmiller
faq 7.31 --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO

Re: [R] why package ZIGP is not there anymore?

2013-03-07 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar

Re: [R] Select rows from Data Frame with conditions

2013-03-07 Thread Jeff Newmiller
Something along the lines of top100 - A[match(B,A[,1]),] Please provide R code with sample data and desired output. See http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example --- Jeff

Re: [R] R GUI frond has stopped working

2013-03-09 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.O

Re: [R] R GUI frond has stopped working

2013-03-10 Thread Jeff Newmiller
, many users miss the fact that by never running the install or R explicitly as admin, and enabling a personal library during installation, they can escape that admin addiction entirely. --- Jeff Newmiller

Re: [R] Editing figure without re-running the plotting code?

2013-03-10 Thread Jeff Newmiller
The normal method is to rerun the code. If you use the ggplot2 library you can store plots in variables and modify them, but you still have to print them again when you want to see the results. --- Jeff Newmiller

Re: [R] Hash Table - Select and Change Data iniside Matrix

2012-05-25 Thread Jeff Newmiller
Read help for the ifelse function. Type ?ifelse at the command line. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Filling NA with cumprod?

2012-05-25 Thread Jeff Newmiller
, minimal, self-contained, reproducible code. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Problem sourcing file

2012-05-25 Thread Jeff Newmiller
It does not have anything to do with the sourcing. Rather, it lies in the code that is in your File.R, which is not given here. --- Jeff NewmillerThe . . Go Live... DCN:jdnew

Re: [R] Problem sourcing file

2012-05-25 Thread Jeff Newmiller
What isn't proper about single quotes? --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Problem sourcing file

2012-05-25 Thread Jeff Newmiller
Ah, my default font makes that distinction too subtle. Action item for me, then, to change fonts. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] How do I modify sytem shell environment from within R?

2012-05-26 Thread Jeff Newmiller
You don't, at least not for building libraries. Do it at the command line before you invoke the R commands. If you are using Cygwin, then be sure to use the Bash shell export command to set the variables. --- Jeff Newmiller

Re: [R] how to check given number seq. is time series or not?

2012-05-26 Thread Jeff Newmiller
could be. how would you know? --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live

Re: [R] Problem sourcing file

2012-05-27 Thread Jeff Newmiller
version of this query stands... what is in ~/Documents/myFile.R? --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] write.csv permissions

2012-05-27 Thread Jeff Newmiller
results is part of your problem... files created by that user are by default not readable by other users. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] Query about creating time sequences

2012-05-27 Thread Jeff Newmiller
, minimal, self-contained, reproducible code. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] rpart space in column names

2012-05-28 Thread Jeff Newmiller
It is isn't easy to write code that works with column names that have spaces. You could rewrite rpart, or just rename the columns in your data frame to work around the bug. See ?names. --- Jeff Newmiller

Re: [R] plz help. how to filter/group/sort data on mass data

2012-05-28 Thread Jeff Newmiller
type ??lag at the R command line. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Help needed in wavelet transformation

2012-05-29 Thread Jeff Newmiller
RSiteSearch(wavelet) at the R command line prompt, or http://rseek.org --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Converting to XTS loses data.frame structure

2012-05-29 Thread Jeff Newmiller
Only convert numeric columns to time series. This is a fundamental limitation of ts, xts, and zoo. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] Windows 7 installation issues

2012-05-29 Thread Jeff Newmiller
discovered the parameter specification problem by reading the help documentation through ?testInstalledPackages.) --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.us

Re: [R] R and igraph problems

2012-05-29 Thread Jeff Newmiller
constructive assistance. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO

Re: [R] a question about by and ddply

2012-05-29 Thread Jeff Newmiller
the result of the cor.test function into a one-row data frame. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] gsub/strsplit with multiple patterns/splits

2012-05-31 Thread Jeff Newmiller
for the majority of us who do not use Nabble. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] print.data.frame to string?

2012-05-31 Thread Jeff Newmiller
capture.output(print(mydf)) note that df is a base function... best to not use it as a variable. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] Error: package 'myLib' is not installed for 'arch=i386'

2012-06-01 Thread Jeff Newmiller
problems you encounter. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO

Re: [R] R studio web-based console ?

2012-06-01 Thread Jeff Newmiller
Ask the RStudio developers. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live

Re: [R] Problems installing Packages

2012-06-03 Thread Jeff Newmiller
The error says you are missing the BLAS library... so install it? --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] how to ignore NA with NA or NULL

2012-06-04 Thread Jeff Newmiller
[1:8700,1][i] - predict(lm(x[1:8700,1]~xx, na.action=na.exclude),new)[i] } x } --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] how to ignore NA with NA or NULL

2012-06-06 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.O#. #.O

Re: [R] Fourier descriptors created in a loop

2012-06-06 Thread Jeff Newmiller
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.us

Re: [R] how to ignore NA with NA or NULL

2012-06-06 Thread Jeff Newmiller
the nulls, perhaps don't overwrite the refill list? --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Removing Double Quotations After Using Cbind

2012-06-06 Thread Jeff Newmiller
Arrays must all be the same type. Data frame columns may be of differing types. Try to avoid creating a matrix and converting it to a data frame. a- data.frame(name=c(2,2,X), value=c(,1:3,2:4), as.is=TRUE) str(a) --- Jeff

Re: [R] String Manipulation in R

2012-06-12 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.O#. #.O

Re: [R] Reading several tables from stdin

2012-06-13 Thread Jeff Newmiller
option there would be XML. Alternatively, you could define your own protocol, read all the data in with readLines, and parse it out yourself. --- Jeff NewmillerThe . . Go Live

Re: [R] Reading several tables from stdin

2012-06-14 Thread Jeff Newmiller
Since you don't seem to recognize the term sessionInfo, you definitely need to read the posting guide. See the link at the bottom of the message. RSiteSearch(XML) is a good tool to know about. --- Jeff Newmiller

Re: [R] R matrix help

2012-06-14 Thread Jeff Newmiller
in consistency checking rather than a guessing game. I recommend that you look at your overall problem again. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.us

Re: [R] Divide all rows of a data frame by the first row.

2012-06-14 Thread Jeff Newmiller
, the error message. You can replace the do.call with t( t( amortsByYears )/amortsByYears[1,] ) which is rather more efficient than do.call anyway. --- Jeff NewmillerThe . . Go Live

Re: [R] Divide all rows of a data frame by the first row.

2012-06-15 Thread Jeff Newmiller
. In particular I try to avoid putting POSIXlt into data frames. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] time zones and the chron to POSIXct conversion

2012-06-15 Thread Jeff Newmiller
to POSIXt. R is normally very good about distinguishing between a default value such as zero (or GMT) and undefined, and this documented behavior breaks that consistency. --- Jeff Newmiller

Re: [R] A basic design question for R

2012-06-16 Thread Jeff Newmiller
the list of matrices as a single data frame, with one column that identifies the row in the original data frame for each row of the mortality matrix. This is a more relational (as in SQL) solution. --- Jeff Newmiller

Re: [R] Temporal disaggregation

2012-06-16 Thread Jeff Newmiller
are really working with. Ask specific questions. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] how to delete a matrix column

2012-06-17 Thread Jeff Newmiller
a looks pretty short to me, just two elements. You should spend some (more) time reading the Introduction to R document that is supplied with the software... particularly the parts on indexing. --- Jeff Newmiller

Re: [R] Loop Help

2012-06-18 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.O

Re: [R] Using Sub

2012-06-18 Thread Jeff Newmiller
also play with file.choose() or readLines(clipboard) to get source-compatible paths. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] Inconsistency using seq

2012-06-18 Thread Jeff Newmiller
actually, you should build your sequences with integers and scale those to get floating point sequences. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.us

Re: [R] seek(), skip by bits (not by bytes) in binary file

2012-06-19 Thread Jeff Newmiller
be sufficient to get that byte and pick apart the bits to get the ones you want. I recommend using the hexBin package for this kind of task. --- Jeff NewmillerThe . . Go Live

Re: [R] passing function parameters into a 'with' statement to dynamically pick out columns

2012-06-20 Thread Jeff Newmiller
With is designed for interactive use, so you are right that it is not the answer. You can use list indexing with column names within functions, though, like df[[scaling.column]] or df[[all]]. --- Jeff Newmiller

Re: [R] Error: could not find function

2012-06-28 Thread Jeff Newmiller
a script of R statements to recreate your whole analysis without depending on loading or saving workspaces is standard practice. --- Jeff NewmillerThe . . Go Live... DCN:jdnew

Re: [R] [SOLVED] Accessing named members of a list in an array

2012-07-01 Thread Jeff Newmiller
And when you get tired of waiting for your elegant solution to finish, you can go back and convert to vectors or 3d arrays. Lists are good for building structures, but not particularly good for computation. --- Jeff

Re: [R] Undocumented behavior around daylight savings time?

2012-07-02 Thread Jeff Newmiller
Set your default local timezone (at least while converting to POSIXt types: Sys.setenv(TZ=Etc/GMT+7) --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] Automating R script with Windows 7

2012-07-03 Thread Jeff Newmiller
with the access permissions that your interactive or automatically-triggered environment is restricted by are almost impossible for us to remotely troubleshoot, and are not on-topic for this mailing list. --- Jeff Newmiller

Re: [R] Automating R script with Windows 7

2012-07-03 Thread Jeff Newmiller
(which you don't appear to be doing). Appropriate use of quoting may be necessary if you have spaces in your paths. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.us

Re: [R] Date

2012-07-03 Thread Jeff Newmiller
function to prepare data samples for questions will allow readers to more quickly identify difficulties you may be having. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.us

Re: [R] How to use Sys.time() while writing a csv file name

2012-07-03 Thread Jeff Newmiller
definitions found in ?strptime in a format that doesn't include colons. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] CPU usage while running R code

2012-07-04 Thread Jeff Newmiller
R does not parallelize its operation automatically... you have to use R code that splits the work you give it into multiple tasks. See ?parallel --- Jeff NewmillerThe . . Go Live

Re: [R] how to get list of files within a particular local file folder

2012-07-04 Thread Jeff Newmiller
objects. (If the data are tabular you might use the sapply function to create a single data table.) --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] 7 days confusion over lists

2012-07-05 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar

Re: [R] Problem using Lag on time series

2012-07-06 Thread Jeff Newmiller
$high),-1,0)) z - rle(f$test) z$values - ifelse(0==z$values,Lag(z$values), z$values) f$test2 - inverse.rle( z ) --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.us

Re: [R] automatic completion of object names

2012-07-06 Thread Jeff Newmiller
This has always been how the $ operator has worked. See ?[[, and use that operator directly if you want exact matching. --- Jeff NewmillerThe . . Go Live... DCN:jdnew

Re: [R] convert a table

2012-07-06 Thread Jeff Newmiller
can look at it ourselves? --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live

Re: [R] help in R programming

2012-07-06 Thread Jeff Newmiller
Ding! Semantic error : problem not defined. Return to beginning of Posting Guide mentioned at bottom of every email on this list, process contents, and reformulate question. --- Jeff Newmiller

Re: [R] How to import SAS data in R?

2012-07-06 Thread Jeff Newmiller
You need to learn how to search. RSiteSearch(SAS) or Google : R read SAS --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Compare date Oracle with Sys.time

2012-07-06 Thread Jeff Newmiller
(with or without parameters), which seems out of scope for this list (perhaps R-sig-DB?). --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live

Re: [R] replacement has length zero

2012-07-07 Thread Jeff Newmiller
Your request fails the reproducibility requirement from the posting guide, because you have not supplied enough data to run the code and reproduce the error. --- Jeff Newmiller

Re: [R] Splitting a character vector.

2012-07-07 Thread Jeff Newmiller
to obtain one \ character in memory where the regex code can see it. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Upgrade to 2.14

2012-07-08 Thread Jeff Newmiller
/README --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO

Re: [R] ifelse help

2012-07-10 Thread Jeff Newmiller
to elicit useful responses. Pseudo-code is definitely other.) --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] How to connect .mdb file

2012-07-10 Thread Jeff Newmiller
Are you sure XYZ is the name of the MDB file? Perhaps you are being fooled by the default filename display that omits the extension? --- Jeff NewmillerThe . . Go Live... DCN:jdnew

Re: [R] writing data into files whose names are in a vector

2012-07-14 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.O

Re: [R] writing data into files whose names are in a vector

2012-07-14 Thread Jeff Newmiller
you should lapply over a vector of indices (e.g. seq_along(names)) and extract out the subsets of data in your mywrite function before you write them. Is this homework? --- Jeff Newmiller

Re: [R] writing data into files whose names are in a vector

2012-07-14 Thread Jeff Newmiller
I/O is not greatly improved by vectorization, except that whole files being read or written as units is faster than looping over rows. --- Jeff NewmillerThe . . Go Live... DCN:jdnew

Re: [R] read mignight as 24:00 and not as 0:00

2012-07-15 Thread Jeff Newmiller
Extract the date separately from the time initially, and keep it separate. When you want to process daily data, use that column. --- Jeff NewmillerThe . . Go Live... DCN:jdnew

Re: [R] creating graphs using Rook

2012-09-18 Thread Jeff Newmiller
FAQ 7.19 http://cran.r-project.org/doc/FAQ/R-FAQ.html --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] effective way to return only the first argument of which()

2012-09-19 Thread Jeff Newmiller
?which.max --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO

Re: [R] Warning Message: In if (deparse(params[[nm]][[3]]) != 1)

2012-09-19 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.O#. #.O

Re: [R] where are these NAs coming from?

2012-09-19 Thread Jeff Newmiller
I don't. You are getting to be a regular around here, so you should know better by now. Please stop posting non-reproducible sample code. --- Jeff NewmillerThe . . Go Live

Re: [R] where are these NAs coming from?

2012-09-19 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar

Re: [R] fourier series for finding average values

2012-09-20 Thread Jeff Newmiller
understand, particularly Discrete Fourier analysis, but that would be decidedly off topic here. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] Parallel Programming

2012-09-20 Thread Jeff Newmiller
Then don't do that. Use your script file to define functions. Source that file before the loop to load them into memory. Call those functions from within your loop. --- Jeff Newmiller

Re: [R] Background color in a grid plot seems to interfere with plot()

2012-09-24 Thread Jeff Newmiller
Same reason. grid() is part of base graphics, which are incompatible with grid graphics. Perhaps you want grid.grill(), which you could find out about in the grid graphics vignette mentioned earlier. --- Jeff Newmiller

Re: [R] Regression Problem

2012-09-24 Thread Jeff Newmiller
What is it you think as.numeric accomplishes for you? A reproducible example as requested in the posting guide might clarify. Making factors and leaving them that way seems more productive. --- Jeff Newmiller

Re: [R] Strange data frame behavior

2012-09-25 Thread Jeff Newmiller
to convert to factor after you have manipulated your data. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Write table with data in other .csv template

2012-09-25 Thread Jeff Newmiller
? Other: Don't post HTML email. The name table is defined in the base package, so using it as a data name can lead to confusion and inability to perform fundamental operations. --- Jeff Newmiller

Re: [R] Write table with data in other .csv template

2012-09-25 Thread Jeff Newmiller
Perhaps you might try template[ , names(tbl) ] - tbl where I have used tbl instead of table, for reasons previously mentioned. --- Jeff NewmillerThe . . Go Live... DCN:jdnew

Re: [R] Write table with data in other .csv template

2012-09-25 Thread Jeff Newmiller
without understanding it is risky to your data. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Rows not common in dataframes

2012-09-25 Thread Jeff Newmiller
or duplication. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO

Re: [R] rows extraction

2012-09-26 Thread Jeff Newmiller
You need to use the match function if you want to specify result sort order or duplication. test[ match(c( PKB123, PKB22, PKB23,PKB32, CTV19, CTV20, PKB11, PKB11 ),test$Name.), ] --- Jeff Newmiller

Re: [R] Guideline

2012-09-27 Thread Jeff Newmiller
). --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.O#. #.O

Re: [R] z-score to percentile, and back again (Normal)

2012-09-27 Thread Jeff Newmiller
?Distributions The more general term for percentile is quantile. help.search(quantile) --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics

Re: [R] Better way of Grouping?

2012-09-28 Thread Jeff Newmiller
with these subsets, so there could be special-purpose functions that do what you want. As always, reproducible code leads to reproducible answers. :) --- Jeff NewmillerThe . . Go Live

Re: [R] Input and output of time series data - any function or packages that helps?

2012-10-01 Thread Jeff Newmiller
, but I know nothing of your workflow, so I think the ball is in your court. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go

Re: [R] Retrieve hypergeometric results in large scale

2012-10-01 Thread Jeff Newmiller
Perhaps you should read ?dhyper and if you have a hard time parsing that, then read ?Distributions and then go back to ?dhyper --- Jeff NewmillerThe . . Go Live... DCN:jdnew

Re: [R] Ifelse Execution

2012-10-01 Thread Jeff Newmiller
. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/BatteriesO.O

<    1   2   3   4   5   6   7   8   9   10   >