Displaying 2 results from an estimated 2 matches for "result_vari".
2014 May 13
2
[LLVMdev] [PATCH] CMake add_version_info_from_vcs SVN_REPOSITORY
...VISION ${git_svn_rev_number} PARENT_SCOPE)
set(git_svn_rev "-svn-${git_svn_rev}")
-
+ # Get repository URL
+ execute_process(COMMAND ${git_executable} svn info --url
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+ TIMEOUT 5
+ RESULT_VARIABLE git_result
+ OUTPUT_VARIABLE git_output)
+ if( git_result EQUAL 0 )
+ string(STRIP "${git_output}" git_svn_info_url)
+ set(SVN_REPOSITORY ${git_svn_info_url} PARENT_SCOPE)
+ endif()
# Determine if the HEAD points directly a...
2009 Apr 17
1
cast function in package reshape
...eq_1
function (x)
{
sum(x[!is.na(x)] == 1)
}
<environment: 0x03d6c930>
I would like to use this list of functions with cast function (in package
reshape by Hadley Wickham) :
> cast(melt(df, id = c("id", "z"), measure = c("x", "y")), variable +
result_variable ~ z, fun = function(x) freq1(x), margins = "grand_col")
Erreur dans freq1(x) : objet "res" non trouvé
Here the result I would like to have :
variable a b (all)
1 x freq_1 10 14 24
2 y freq_1 18 32 50
3 y...