Posts

Showing posts from March 30, 2019

Element-wise division of two matrices stored as lists in a tibble

Image
0 1 I'm trying to bootstrap the element-wise ratio of two matrices using modelr:bootstrap. After running my models I obtain the following object, where "pred" and "pred_null" are two 10x10 matrices obtained at each resampling. What I want to do is two create a new columns that stores the element wise divison of pred/pred_null. If I simply try mutate(pred/pred_null) in the pipe I get the following error message: Error in mutate_impl(.data, dots) : Evaluation error: non-numeric argument to binary operator. strap boot_id pred pred_null <list> <chr> <list> <list> 1 <S3: resample> 1 <dbl [10 × 10]> <dbl [10 × 10]> 2 <S3: resample> 2 <dbl [10 × 10]> <dbl [10 × 10]>...

Brisbane Showgrounds

Image
Brisbane Showgrounds Former names RNA Showgrounds Ekka Grounds Brisbane Exhibition Ground Location Bowen Hills, Brisbane, Queensland Coordinates 27°27′0″S 153°1′58″E  /  27.45000°S 153.03278°E  / -27.45000; 153.03278 Coordinates: 27°27′0″S 153°1′58″E  /  27.45000°S 153.03278°E  / -27.45000; 153.03278 Owner The Royal National Agricultural and Industrial Association of Queensland Operator The Royal National Agricultural and Industrial Association of Queensland Capacity 25,490 Construction Broke ground 1880 Opened 1886 Ground information International information First Test 30 November – 5 December 1928:   Australia v   England Last Test 16–20 January 1931:   Australia v   West Indies Only women's Test 28–31 December 1934:   Australia v   England As of 26 April 2017 Source: ESPNcricinfo Brisbane Showgrounds Location of Brisbane Showgrounds in Queensland Location 600 Gregory Terrace, Bowen Hills, City...