Displaying 3 results from an estimated 3 matches for "predominat".
Did you mean:
predominant
2018 Apr 15
0
Adding a new conditional column to a list of dataframes
...not able to know the issue.
A function returns the result of the last function call. In your case the last function called was `[<-` and if you look at that function's help page you will find only the value of its RHS (in your case "C") is returned. That assignment function has is predominat action via side-effect rather than by a truly functional operation.. The function might have been written:
MyFunction <- function(x) { x$NewCol [ x[ ,3] < x[ 1,2] ] <- "C"; x } # so that x gets returned
I say "might" since you have not included a reproducible exampl...
2004 Mar 10
2
a quick help
Dear Sir/Madam,
I am a Ph.D. student in Computer Science of the University of Waterloo,
Canada. I'm currently taking a graduate level course, software architecture,
offered by Dr. Ric Holt. Our group is interested in OpenSSH and we are
studying the evolution of OpenSSH. I'm wondering if it is possible that you
can provide us with some architectural information of OpenSSH, such as the
2018 Apr 15
4
Adding a new conditional column to a list of dataframes
Hi all ..,
I have a list of 7000 dataframes with similar column headers and I wanted to add a new column to each dataframe based on a certain condition which is the same for all dataframes.
When I extract one dataframe and apply my code it works very well as follows :-
First suppose this is my first dataframe in the list
> OneDF <- Mylist[[1]]
> OneDF
ID Pdate