Generate a matrix showing the amount of each feature in each planning unit (also known as an rij matrix).Each row corresponds to a different feature and each column corresponds to a different feature.

# S4 method for Raster,Raster
rij_matrix(x, y, ...)

# S4 method for Spatial,Raster
rij_matrix(x, y, ...)

Arguments

x

Raster-class or Spatial-class object representing the planning units.

y

Raster-class object representing the features.

...

additional arguments passed to fast_extract if argument to x inherits from a Spatial-class object.

Value

Matrix{dgCMatrix-class} object.

Details

The sparse matrix represents the spatial intersection between the planning units and the features. Rows correspond to planning units, and columns correspond to features. Values correspond to the amount of the feature in the planning unit. For example, the amount of the third species in the second planning unit would be contained in the cell in the third column and in the second column.

This function can take a long to run for big data sets. To reduce processing time, the set_number_of_threads function can be used to allocate more computational resources. Additionally, dealing with planning units represented with SpatialPolygonsDataFrame object, the velox package can be installed to reduce processing time.

Generally, processing Spatial-class data takes much longer to process then Raster-class data, and so it is recommended to use Raster-class data for planning units where possible.

See also

Examples

# load data data(sim_pu_raster, sim_pu_polygons, sim_pu_zones_stack) # create rij matrix using raster layer planning units rij_raster <- rij_matrix(sim_pu_raster, sim_features) print(rij_raster)
#> 5 x 90 sparse Matrix of class "dgCMatrix" #> #> layer.1 0.7150548 0.6990429 0.6859317 0.6783193 0.6782107 0.6863252 0.7017231 #> layer.2 0.2900901 0.3052216 0.3266036 0.3510977 0.3750470 0.3950113 0.4084749 #> layer.3 0.8178213 0.8064534 0.7852441 0.7541320 0.7131559 0.6628435 0.6046204 #> layer.4 0.2199663 0.2713800 0.3296247 0.3900085 0.4468281 0.4946333 0.5292249 #> layer.5 0.4533809 0.4413639 0.4343547 0.4355628 0.4474871 0.4714105 0.5068509 #> #> layer.1 0.7219284 0.7435505 0.7631509 0.7505900 0.7357791 0.7233151 0.7156627 #> layer.2 0.4142271 0.4123446 0.4038949 0.2800841 0.2967547 0.3181723 0.3409791 #> layer.3 0.5411391 0.4763017 0.4147364 0.8275983 0.8194545 0.8013062 0.7730503 #> layer.4 0.5479991 0.5498153 0.5348758 0.2208512 0.2738525 0.3350935 0.3998241 #> layer.5 0.5510725 0.5991256 0.6448475 0.4741697 0.4569167 0.4453572 0.4428185 #> #> layer.1 0.7147517 0.7212831 0.7343615 0.7516415 0.7699543 0.7897989 0.7772875 #> layer.2 0.3615030 0.3765606 0.3841340 0.3836641 0.3759393 0.2716298 0.2901825 #> layer.3 0.7345400 0.6860553 0.6288231 0.5654560 0.5000330 0.8346555 0.8298830 #> layer.4 0.4618047 0.5148344 0.5541170 0.5767631 0.5815260 0.2249796 0.2776009 #> layer.5 0.4517499 0.4732935 0.5068285 0.5495481 0.5965013 0.5022737 0.4802429 #> #> layer.1 0.7661407 0.7585159 0.7561971 0.7599327 0.7690602 0.7816119 0.7948577 #> layer.2 0.3119889 0.3334326 0.3508138 0.3612252 0.3631965 0.3568911 0.3438730 #> layer.3 0.8151305 0.7903745 0.7553823 0.7102172 0.6558247 0.5945687 0.5304188 #> layer.4 0.3390011 0.4047008 0.4684589 0.5238040 0.5655910 0.5906737 0.5976491 #> layer.5 0.4646212 0.4587578 0.4649525 0.4840959 0.5153215 0.5556964 0.6003282 #> #> layer.1 0.8059966 0.8286461 0.8189872 0.8095434 0.8020377 0.7980313 0.7983424 #> layer.2 0.3265679 0.2650109 0.2854743 0.3077757 0.3280176 0.3424767 0.3485511 #> layer.3 0.4684656 0.8381119 0.8367193 0.8254115 0.8043530 0.7733527 0.7323690 #> layer.4 0.5863706 0.2330116 0.2831343 0.3416658 0.4047077 0.4665769 0.5210694 #> layer.5 0.6432595 0.5353515 0.5095593 0.4907792 0.4822721 0.4860960 0.5028092 #> #> layer.1 0.8026563 0.8095316 0.8167839 0.8220091 0.8633036 0.8564520 0.8487799 #> layer.2 0.3453627 0.3338433 0.3163452 0.2959188 0.2603208 0.2824472 0.3051395 #> layer.3 0.6821137 0.6246373 0.5636095 0.5039577 0.8370439 0.8390267 0.8310691 #> layer.4 0.5629582 0.5888172 0.5969403 0.5869119 0.2456164 0.2910969 0.3438600 #> layer.5 0.5312405 0.5683321 0.6093528 0.6487382 0.5700379 0.5418938 0.5211593 #> #> layer.1 0.8415392 0.8360026 0.8325552 0.8337363 0.8339533 0.8912849 0.8867860 #> layer.2 0.3242198 0.3359588 0.3303278 0.3143945 0.2708325 0.2575975 0.2809245 #> layer.3 0.8136049 0.7866027 0.7045769 0.6519655 0.5398928 0.8305082 0.8359634 #> layer.4 0.4008068 0.4572360 0.5471036 0.5718452 0.5700792 0.2632826 0.3020677 #> layer.5 0.5108757 0.5127704 0.5521633 0.5850800 0.6559584 0.6024207 0.5734186 #> #> layer.1 0.8807106 0.8738915 0.8672825 0.8616340 0.8571536 0.8533099 0.8488533 #> layer.2 0.3037493 0.3216412 0.3308881 0.3295497 0.3179543 0.2985197 0.2749763 #> layer.3 0.8312740 0.8171942 0.7939453 0.7616869 0.7210738 0.6737960 0.6228802 #> layer.4 0.3465595 0.3945501 0.4425012 0.4859430 0.5203217 0.5418532 0.5479865 #> layer.5 0.5520171 0.5408934 0.5413574 0.5531961 0.5746993 0.6028225 0.6335755 #> #> layer.1 0.8419808 0.9117805 0.9090526 0.9042812 0.8979800 0.8833313 0.8758136 #> layer.2 0.2512416 0.2570026 0.2809260 0.3035274 0.3201754 0.3229680 0.3083414 #> layer.3 0.5724977 0.8175488 0.8267526 0.8253873 0.8145533 0.7665224 0.7305762 #> layer.4 0.5375278 0.2860727 0.3163391 0.3506471 0.3876575 0.4590604 0.4860971 #> layer.5 0.6626552 0.6287730 0.6001593 0.5792111 0.5681102 0.5773113 0.5951498 #> #> layer.1 0.8679237 0.8586633 0.8463772 0.9251764 0.9199524 0.9141710 0.9067838 #> layer.2 0.2863445 0.2611997 0.2370352 0.2589605 0.3047683 0.3200938 0.3251705 #> layer.3 0.6886562 0.6435894 0.5991429 0.7972733 0.8129275 0.8053968 0.7890073 #> layer.4 0.5023710 0.5050812 0.4927354 0.3133764 0.3566663 0.3816158 0.4070643 #> layer.5 0.6183284 0.6433893 0.6667633 0.6461805 0.5990580 0.5886663 0.5878728 #> #> layer.1 0.8981802 0.8643680 0.8473654 0.9322748 0.9317639 0.9287528 0.9159813 #> layer.2 0.3186414 0.2521341 0.2280966 0.2641903 0.2872474 0.3081174 0.3253428 #> layer.3 0.7645150 0.6570162 0.6186335 0.7690767 0.7873422 0.7936492 0.7768533 #> layer.4 0.4304725 0.4559778 0.4408970 0.3437657 0.3535038 0.3646749 0.3908502 #> layer.5 0.5957192 0.6486412 0.6667338 0.6528235 0.6269821 0.6089827 0.5991743 #> #> layer.1 0.9066665 0.8822224 0.8658993 0.8449602 0.9336696 0.9339562 0.9315392 #> layer.2 0.3170430 0.2740393 0.2478477 0.2243090 0.2736019 0.2951441 0.3143908 #> layer.3 0.7561399 0.6972504 0.6635963 0.6310227 0.7330271 0.7567352 0.7677462 #> layer.4 0.4031866 0.4135759 0.4061247 0.3879679 0.3750617 0.3743479 0.3741982 #> layer.5 0.6058227 0.6325923 0.6479832 0.6617020 0.6480034 0.6238690 0.6078230 #> #> layer.1 0.9265291 0.9190510 0.8968893 0.8817701 0.8629508 0.8388748 #> layer.2 0.3265712 0.3282949 0.2992975 0.2742826 0.2483226 0.2255383 #> layer.3 0.7679649 0.7589920 0.7195554 0.6927858 0.6644491 0.6371886 #> layer.4 0.3753241 0.3774461 0.3785580 0.3729116 0.3601426 0.3391285 #> layer.5 0.6002171 0.6002851 0.6166497 0.6288149 0.6410043 0.6515710
# create rij matrix using polygon planning units rij_polygons <- rij_matrix(sim_pu_polygons, sim_features) print(rij_polygons)
#> 5 x 90 sparse Matrix of class "dgCMatrix"
#> [[ suppressing 90 column names '1', '2', '3' ... ]]
#> #> layer.1 0.7150548 0.6990429 0.6859317 0.6783193 0.6782107 0.6863252 0.7017231 #> layer.2 0.2900901 0.3052216 0.3266036 0.3510977 0.3750470 0.3950113 0.4084749 #> layer.3 0.8178213 0.8064534 0.7852441 0.7541320 0.7131559 0.6628435 0.6046204 #> layer.4 0.2199663 0.2713800 0.3296247 0.3900085 0.4468281 0.4946333 0.5292249 #> layer.5 0.4533809 0.4413639 0.4343547 0.4355628 0.4474871 0.4714105 0.5068509 #> #> layer.1 0.7219284 0.7435505 0.7631509 0.7505900 0.7357791 0.7233151 0.7156627 #> layer.2 0.4142271 0.4123446 0.4038949 0.2800841 0.2967547 0.3181723 0.3409791 #> layer.3 0.5411391 0.4763017 0.4147364 0.8275983 0.8194545 0.8013062 0.7730503 #> layer.4 0.5479991 0.5498153 0.5348758 0.2208512 0.2738525 0.3350935 0.3998241 #> layer.5 0.5510725 0.5991256 0.6448475 0.4741697 0.4569167 0.4453572 0.4428185 #> #> layer.1 0.7147517 0.7212831 0.7343615 0.7516415 0.7699543 0.7897989 0.7772875 #> layer.2 0.3615030 0.3765606 0.3841340 0.3836641 0.3759393 0.2716298 0.2901825 #> layer.3 0.7345400 0.6860553 0.6288231 0.5654560 0.5000330 0.8346555 0.8298830 #> layer.4 0.4618047 0.5148344 0.5541170 0.5767631 0.5815260 0.2249796 0.2776009 #> layer.5 0.4517499 0.4732935 0.5068285 0.5495481 0.5965013 0.5022737 0.4802429 #> #> layer.1 0.7661407 0.7585159 0.7561971 0.7599327 0.7690602 0.7816119 0.7948577 #> layer.2 0.3119889 0.3334326 0.3508138 0.3612252 0.3631965 0.3568911 0.3438730 #> layer.3 0.8151305 0.7903745 0.7553823 0.7102172 0.6558247 0.5945687 0.5304188 #> layer.4 0.3390011 0.4047008 0.4684589 0.5238040 0.5655910 0.5906737 0.5976491 #> layer.5 0.4646212 0.4587578 0.4649525 0.4840959 0.5153215 0.5556964 0.6003282 #> #> layer.1 0.8059966 0.8286461 0.8189872 0.8095434 0.8020377 0.7980313 0.7983424 #> layer.2 0.3265679 0.2650109 0.2854743 0.3077757 0.3280176 0.3424767 0.3485511 #> layer.3 0.4684656 0.8381119 0.8367193 0.8254115 0.8043530 0.7733527 0.7323690 #> layer.4 0.5863706 0.2330116 0.2831343 0.3416658 0.4047077 0.4665769 0.5210694 #> layer.5 0.6432595 0.5353515 0.5095593 0.4907792 0.4822721 0.4860960 0.5028092 #> #> layer.1 0.8026563 0.8095316 0.8167839 0.8220091 0.8633036 0.8564520 0.8487799 #> layer.2 0.3453627 0.3338433 0.3163452 0.2959188 0.2603208 0.2824472 0.3051395 #> layer.3 0.6821137 0.6246373 0.5636095 0.5039577 0.8370439 0.8390267 0.8310691 #> layer.4 0.5629582 0.5888172 0.5969403 0.5869119 0.2456164 0.2910969 0.3438600 #> layer.5 0.5312405 0.5683321 0.6093528 0.6487382 0.5700379 0.5418938 0.5211593 #> #> layer.1 0.8415392 0.8360026 0.8325552 0.8337363 0.8339533 0.8912849 0.8867860 #> layer.2 0.3242198 0.3359588 0.3303278 0.3143945 0.2708325 0.2575975 0.2809245 #> layer.3 0.8136049 0.7866027 0.7045769 0.6519655 0.5398928 0.8305082 0.8359634 #> layer.4 0.4008068 0.4572360 0.5471036 0.5718452 0.5700792 0.2632826 0.3020677 #> layer.5 0.5108757 0.5127704 0.5521633 0.5850800 0.6559584 0.6024207 0.5734186 #> #> layer.1 0.8807106 0.8738915 0.8672825 0.8616340 0.8571536 0.8533099 0.8488533 #> layer.2 0.3037493 0.3216412 0.3308881 0.3295497 0.3179543 0.2985197 0.2749763 #> layer.3 0.8312740 0.8171942 0.7939453 0.7616869 0.7210738 0.6737960 0.6228802 #> layer.4 0.3465595 0.3945501 0.4425012 0.4859430 0.5203217 0.5418532 0.5479865 #> layer.5 0.5520171 0.5408934 0.5413574 0.5531961 0.5746993 0.6028225 0.6335755 #> #> layer.1 0.8419808 0.9117805 0.9090526 0.9042812 0.8979800 0.8833313 0.8758136 #> layer.2 0.2512416 0.2570026 0.2809260 0.3035274 0.3201754 0.3229680 0.3083414 #> layer.3 0.5724977 0.8175488 0.8267526 0.8253873 0.8145533 0.7665224 0.7305762 #> layer.4 0.5375278 0.2860727 0.3163391 0.3506471 0.3876575 0.4590604 0.4860971 #> layer.5 0.6626552 0.6287730 0.6001593 0.5792111 0.5681102 0.5773113 0.5951498 #> #> layer.1 0.8679237 0.8586633 0.8463772 0.9251764 0.9199524 0.9141710 0.9067838 #> layer.2 0.2863445 0.2611997 0.2370352 0.2589605 0.3047683 0.3200938 0.3251705 #> layer.3 0.6886562 0.6435894 0.5991429 0.7972733 0.8129275 0.8053968 0.7890073 #> layer.4 0.5023710 0.5050812 0.4927354 0.3133764 0.3566663 0.3816158 0.4070643 #> layer.5 0.6183284 0.6433893 0.6667633 0.6461805 0.5990580 0.5886663 0.5878728 #> #> layer.1 0.8981802 0.8643680 0.8473654 0.9322748 0.9317639 0.9287528 0.9159813 #> layer.2 0.3186414 0.2521341 0.2280966 0.2641903 0.2872474 0.3081174 0.3253428 #> layer.3 0.7645150 0.6570162 0.6186335 0.7690767 0.7873422 0.7936492 0.7768533 #> layer.4 0.4304725 0.4559778 0.4408970 0.3437657 0.3535038 0.3646749 0.3908502 #> layer.5 0.5957192 0.6486412 0.6667338 0.6528235 0.6269821 0.6089827 0.5991743 #> #> layer.1 0.9066665 0.8822224 0.8658993 0.8449602 0.9336696 0.9339562 0.9315392 #> layer.2 0.3170430 0.2740393 0.2478477 0.2243090 0.2736019 0.2951441 0.3143908 #> layer.3 0.7561399 0.6972504 0.6635963 0.6310227 0.7330271 0.7567352 0.7677462 #> layer.4 0.4031866 0.4135759 0.4061247 0.3879679 0.3750617 0.3743479 0.3741982 #> layer.5 0.6058227 0.6325923 0.6479832 0.6617020 0.6480034 0.6238690 0.6078230 #> #> layer.1 0.9265291 0.9190510 0.8968893 0.8817701 0.8629508 0.8388748 #> layer.2 0.3265712 0.3282949 0.2992975 0.2742826 0.2483226 0.2255383 #> layer.3 0.7679649 0.7589920 0.7195554 0.6927858 0.6644491 0.6371886 #> layer.4 0.3753241 0.3774461 0.3785580 0.3729116 0.3601426 0.3391285 #> layer.5 0.6002171 0.6002851 0.6166497 0.6288149 0.6410043 0.6515710
# create rij matrix using raster stack planning units rij_raster <- rij_matrix(sim_pu_zones_stack, sim_features) print(rij_raster)
#> 5 x 90 sparse Matrix of class "dgCMatrix" #> #> layer.1 0.7150548 0.6990429 0.6859317 0.6783193 0.6782107 0.6863252 0.7219284 #> layer.2 0.2900901 0.3052216 0.3266036 0.3510977 0.3750470 0.3950113 0.4142271 #> layer.3 0.8178213 0.8064534 0.7852441 0.7541320 0.7131559 0.6628435 0.5411391 #> layer.4 0.2199663 0.2713800 0.3296247 0.3900085 0.4468281 0.4946333 0.5479991 #> layer.5 0.4533809 0.4413639 0.4343547 0.4355628 0.4474871 0.4714105 0.5510725 #> #> layer.1 0.7435505 0.7631509 0.7505900 0.7357791 0.7233151 0.7156627 0.7147517 #> layer.2 0.4123446 0.4038949 0.2800841 0.2967547 0.3181723 0.3409791 0.3615030 #> layer.3 0.4763017 0.4147364 0.8275983 0.8194545 0.8013062 0.7730503 0.7345400 #> layer.4 0.5498153 0.5348758 0.2208512 0.2738525 0.3350935 0.3998241 0.4618047 #> layer.5 0.5991256 0.6448475 0.4741697 0.4569167 0.4453572 0.4428185 0.4517499 #> #> layer.1 0.7212831 0.7343615 0.7699543 0.7861227 0.7897989 0.7772875 0.7561971 #> layer.2 0.3765606 0.3841340 0.3759393 0.3627013 0.2716298 0.2901825 0.3508138 #> layer.3 0.6860553 0.6288231 0.5000330 0.4375452 0.8346555 0.8298830 0.7553823 #> layer.4 0.5148344 0.5541170 0.5815260 0.5684388 0.2249796 0.2776009 0.4684589 #> layer.5 0.4732935 0.5068285 0.5965013 0.6415349 0.5022737 0.4802429 0.4649525 #> #> layer.1 0.7599327 0.7690602 0.7816119 0.7948577 0.8059966 0.8286461 0.8189872 #> layer.2 0.3612252 0.3631965 0.3568911 0.3438730 0.3265679 0.2650109 0.2854743 #> layer.3 0.7102172 0.6558247 0.5945687 0.5304188 0.4684656 0.8381119 0.8367193 #> layer.4 0.5238040 0.5655910 0.5906737 0.5976491 0.5863706 0.2330116 0.2831343 #> layer.5 0.4840959 0.5153215 0.5556964 0.6003282 0.6432595 0.5353515 0.5095593 #> #> layer.1 0.8095434 0.8020377 0.7980313 0.7983424 0.8026563 0.8095316 0.8167839 #> layer.2 0.3077757 0.3280176 0.3424767 0.3485511 0.3453627 0.3338433 0.3163452 #> layer.3 0.8254115 0.8043530 0.7733527 0.7323690 0.6821137 0.6246373 0.5636095 #> layer.4 0.3416658 0.4047077 0.4665769 0.5210694 0.5629582 0.5888172 0.5969403 #> layer.5 0.4907792 0.4822721 0.4860960 0.5028092 0.5312405 0.5683321 0.6093528 #> #> layer.1 0.8220091 0.8633036 0.8564520 0.8487799 0.8360026 0.8330038 0.8337363 #> layer.2 0.2959188 0.2603208 0.2824472 0.3051395 0.3359588 0.3380832 0.3143945 #> layer.3 0.5039577 0.8370439 0.8390267 0.8310691 0.7866027 0.7500573 0.6519655 #> layer.4 0.5869119 0.2456164 0.2910969 0.3438600 0.4572360 0.5076754 0.5718452 #> layer.5 0.6487382 0.5700379 0.5418938 0.5211593 0.5127704 0.5270232 0.5850800 #> #> layer.1 0.8348882 0.8339533 0.8912849 0.8867860 0.8807106 0.8738915 0.8672825 #> layer.2 0.2933767 0.2708325 0.2575975 0.2809245 0.3037493 0.3216412 0.3308881 #> layer.3 0.5955431 0.5398928 0.8305082 0.8359634 0.8312740 0.8171942 0.7939453 #> layer.4 0.5797670 0.5700792 0.2632826 0.3020677 0.3465595 0.3945501 0.4425012 #> layer.5 0.6213430 0.6559584 0.6024207 0.5734186 0.5520171 0.5408934 0.5413574 #> #> layer.1 0.8616340 0.8571536 0.8488533 0.9117805 0.9090526 0.9042812 0.8979800 #> layer.2 0.3295497 0.3179543 0.2749763 0.2570026 0.2809260 0.3035274 0.3201754 #> layer.3 0.7616869 0.7210738 0.6228802 0.8175488 0.8267526 0.8253873 0.8145533 #> layer.4 0.4859430 0.5203217 0.5479865 0.2860727 0.3163391 0.3506471 0.3876575 #> layer.5 0.5531961 0.5746993 0.6335755 0.6287730 0.6001593 0.5792111 0.5681102 #> #> layer.1 0.8908018 0.8833313 0.8758136 0.8679237 0.8586633 0.8463772 0.9251764 #> layer.2 0.3271982 0.3229680 0.3083414 0.2863445 0.2611997 0.2370352 0.2589605 #> layer.3 0.7947903 0.7665224 0.7305762 0.6886562 0.6435894 0.5991429 0.7972733 #> layer.4 0.4249398 0.4590604 0.4860971 0.5023710 0.5050812 0.4927354 0.3133764 #> layer.5 0.5676758 0.5773113 0.5951498 0.6183284 0.6433893 0.6667633 0.6461805 #> #> layer.1 0.9237208 0.9199524 0.9141710 0.9067838 0.8981802 0.8885294 0.8775561 #> layer.2 0.2828033 0.3047683 0.3200938 0.3251705 0.3186414 0.3017897 0.2781030 #> layer.3 0.8107003 0.8129275 0.8053968 0.7890073 0.7645150 0.7330004 0.6962687 #> layer.4 0.3337335 0.3566663 0.3816158 0.4070643 0.4304725 0.4485815 0.4580145 #> layer.5 0.6187615 0.5990580 0.5886663 0.5878728 0.5957192 0.6102524 0.6288607 #> #> layer.1 0.8643680 0.8473654 0.9322748 0.9317639 0.9287528 0.9234146 0.9159813 #> layer.2 0.2521341 0.2280966 0.2641903 0.2872474 0.3081174 0.3219892 0.3253428 #> layer.3 0.6570162 0.6186335 0.7690767 0.7873422 0.7936492 0.7897301 0.7768533 #> layer.4 0.4559778 0.4408970 0.3437657 0.3535038 0.3646749 0.3773969 0.3908502 #> layer.5 0.6486412 0.6667338 0.6528235 0.6269821 0.6089827 0.5997976 0.5991743 #> #> layer.1 0.9066665 0.8955188 0.8822224 0.8658993 0.8449602 0.9336696 0.9339562 #> layer.2 0.3170430 0.2986799 0.2740393 0.2478477 0.2243090 0.2736019 0.2951441 #> layer.3 0.7561399 0.7289606 0.6972504 0.6635963 0.6310227 0.7330271 0.7567352 #> layer.4 0.4031866 0.4117466 0.4135759 0.4061247 0.3879679 0.3750617 0.3743479 #> layer.5 0.6058227 0.6177441 0.6325923 0.6479832 0.6617020 0.6480034 0.6238690 #> #> layer.1 0.9315392 0.9190510 0.9091912 0.8968893 0.8629508 0.8388748 #> layer.2 0.3143908 0.3282949 0.3186099 0.2992975 0.2483226 0.2255383 #> layer.3 0.7677462 0.7589920 0.7423054 0.7195554 0.6644491 0.6371886 #> layer.4 0.3741982 0.3774461 0.3792402 0.3785580 0.3601426 0.3391285 #> layer.5 0.6078230 0.6002851 0.6064383 0.6166497 0.6410043 0.6515710