Description Usage Format Examples
A SoilProfileCollection Object of Loafercreek Soils from the CA630 Soil Survey Area.
1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | Formal class 'SoilProfileCollection' [package "aqp"] with 7 slots
..@ idcol : chr "pedon_id"
..@ depthcols : chr [1:2] "hzdept" "hzdepb"
..@ metadata :'data.frame': 1 obs. of 1 variable:
.. ..$ depth_units: chr "cm"
..@ horizons :'data.frame': 308 obs. of 29 variables:
.. ..$ phiid : int [1:308] 1258320 1258321 1258322 1258323 1258324 1258325 2068689 2068690 2068691 2068692 ...
.. ..$ pedon_id : chr [1:308] "07SKC003" "07SKC003" "07SKC003" "07SKC003" ...
.. ..$ hzname : chr [1:308] "A" "Bt1" "Bt2" "2Bt3" ...
.. ..$ hzdept : int [1:308] 0 10 23 33 48 64 0 1 4 12 ...
.. ..$ hzdepb : int [1:308] 10 23 33 48 64 64 1 4 12 28 ...
.. ..$ clay : num [1:308] 15 19 32 38 28 NA NA 16 18 25 ...
.. ..$ silt : num [1:308] 50 61 55 49 NA NA NA NA NA NA ...
.. ..$ sand : num [1:308] 35 20 13 13 NA NA NA NA NA NA ...
.. ..$ texture_class : chr [1:308] "l" "sil" "sicl" "sicl" ...
.. ..$ phfield : num [1:308] 6.8 6.7 6.9 6.9 6.7 ...
.. ..$ effervescence : chr [1:308] NA NA NA NA ...
.. ..$ labsampnum : chr [1:308] NA NA NA NA ...
.. ..$ total_frags_pct: int [1:308] 10 24 5 10 23 0 0 10 10 18 ...
.. ..$ d_r : num [1:308] 0.525 0.637 0.541 0.525 0.616 ...
.. ..$ d_g : num [1:308] 0.34 0.441 0.331 0.34 0.452 ...
.. ..$ d_b : num [1:308] 0.158 0.248 0.185 0.158 0.218 ...
.. ..$ m_r : num [1:308] 0.399 0.525 0.541 0.525 0.525 ...
.. ..$ m_g : num [1:308] 0.251 0.34 0.331 0.34 0.34 ...
.. ..$ m_b : num [1:308] 0.113 0.158 0.185 0.158 0.158 ...
.. ..$ taxon_kind : chr [1:308] "series" "series" "series" "series" ...
.. ..$ soil_color : chr [1:308] "#66401D" "#865728" "#8A542F" "#865728" ...
.. ..$ gravel : num [1:308] 10 16 5 10 0 NA NA 10 10 18 ...
.. ..$ paragravel : num [1:308] 0 0 0 0 18 NA NA 0 0 0 ...
.. ..$ cobbles : num [1:308] 0 0 0 0 0 NA NA 0 0 0 ...
.. ..$ paracobbles : num [1:308] 0 8 0 0 5 NA NA 0 0 0 ...
.. ..$ stones : num [1:308] 0 0 0 0 0 NA NA 0 0 0 ...
.. ..$ boulders : num [1:308] 0 0 0 0 0 NA NA 0 0 0 ...
.. ..$ channers : num [1:308] 0 0 0 0 0 NA NA 0 0 0 ...
.. ..$ flagstones : num [1:308] 0 0 0 0 0 NA NA 0 0 0 ...
..@ site :'data.frame': 52 obs. of 46 variables:
.. ..$ pedon_id : chr [1:52] "07SKC003" "09BAH008" "09CKS001" "09CKS006" ...
.. ..$ peiid : int [1:52] 268820 493742 342445 374201 374205 374216 374219 374232 542131 530603 ...
.. ..$ site_id : chr [1:52] "07CA630SKC003" "09CA630BAH008" "09CA630CKS001" "09CA630CKS006" ...
.. ..$ siteiid : int [1:52] 269617 501286 342696 374485 374489 374500 374503 374516 550825 540897 ...
.. ..$ sampled_as : chr [1:52] "Motherlode" "Loafercreek" "Loafercreek active" "Loafercreek" ...
.. ..$ correlated_as : chr [1:52] "LOAFERCREEK" "Loafercreek" "Loafercreek" "Loafercreek" ...
.. ..$ hillslope_pos : chr [1:52] "Backslope" "Footslope" "Backslope" "Backslope" ...
.. ..$ datum : chr [1:52] "NAD83" "NAD83" "NAD83" "NAD83" ...
.. ..$ elev : num [1:52] 328 384 1014 210 202 ...
.. ..$ slope : num [1:52] 9 3 22 29 4 36 50 18 22 32 ...
.. ..$ aspect : int [1:52] 344 102 220 235 115 185 185 335 45 52 ...
.. ..$ plantassocnm : chr [1:52] "Blue Oak Woodland" "Blue Oak Woodland/Grassland" "Blue Oak Woodland" "Blue Oak Woodlland" ...
.. ..$ bedrckdepth : int [1:52] 64 68 110 86 96 72 93 65 72 70 ...
.. ..$ bedrock_kind : chr [1:52] "Greenstone" "Metavolcanics" "Greenstone" "Greenstone" ...
.. ..$ bedrock_hardness : chr [1:52] NA "Noncemented" NA NA ...
.. ..$ describer : chr [1:52] "Stacy Kavanaugh" "Bev Harben" "Chris Savastio" "Chris Savastio" ...
.. ..$ psctopdepth : int [1:52] 23 12 9 3 2 12 8 5 6 25 ...
.. ..$ pscbotdepth : int [1:52] 64 62 59 53 52 57 58 55 56 70 ...
.. ..$ part_size_class : chr [1:52] "fine-loamy" "fine-loamy" "fine-loamy" "fine-loamy" ...
.. ..$ tax_subgroup : chr [1:52] "Ultic Haploxeralfs" "Ultic Haploxeralfs" "Ultic Haploxeralfs" "Ultic Haploxeralfs" ...
.. ..$ obs_date : POSIXct[1:52], format: "2007-03-21" "2009-06-03" "2009-03-23" ...
.. ..$ pedon_purpose : chr [1:52] "full pedon description" "full pedon description" "full pedon description" NA ...
.. ..$ pedon_type : chr [1:52] "within range of series" "within range of series" "modal pedon for series" "within range of series" ...
.. ..$ pedlabsampnum : chr [1:52] NA NA "S09CA009002" NA ...
.. ..$ ochric.epipedon : logi [1:52] TRUE TRUE TRUE TRUE TRUE TRUE ...
.. ..$ cambic.horizon : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ paralithic.contact : logi [1:52] TRUE TRUE TRUE TRUE TRUE TRUE ...
.. ..$ lithic.contact : logi [1:52] FALSE FALSE TRUE FALSE FALSE FALSE ...
.. ..$ mollic.epipedon : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ argillic.horizon : logi [1:52] TRUE TRUE TRUE TRUE TRUE TRUE ...
.. ..$ umbric.epipedon : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ paralithic.materials : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ lithologic.discontinuity : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ andic.soil.properties : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ densic.contact : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ aquic.conditions : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ duripan : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ slickensides : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ kandic.horizon : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ redox.depletions.with.chroma.2.or.less: logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ reduced.matrix : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ abrupt.textural.change : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ calcic.horizon : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ redox.concentrations : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ limnic.material : logi [1:52] FALSE FALSE FALSE FALSE FALSE FALSE ...
.. ..$ musym : chr [1:52] "7086" "7085" "7086" "7086" ...
..@ sp :Formal class 'SpatialPoints' [package "sp"] with 3 slots
.. .. ..@ coords : num [1:52, 1:2] 723623 716141 713132 712414 712479 ...
.. .. .. ..- attr(*, "dimnames")=List of 2
.. .. .. .. ..$ : chr [1:52] "248" "406" "495" "500" ...
.. .. .. .. ..$ : chr [1:2] "x" "y"
.. .. ..@ bbox : num [1:2, 1:2] 694821 4179313 729963 4233623
.. .. .. ..- attr(*, "dimnames")=List of 2
.. .. .. .. ..$ : chr [1:2] "x" "y"
.. .. .. .. ..$ : chr [1:2] "min" "max"
.. .. ..@ proj4string:Formal class 'CRS' [package "sp"] with 1 slots
.. .. .. .. ..@ projargs: chr " +proj=utm +zone=10 +ellps=GRS80 +datum=NAD83 +units=m +no_defs +towgs84=0,0,0"
..@ diagnostic:'data.frame': 170 obs. of 8 variables:
.. ..$ pedon_id : chr [1:170] "07SKC003" "07SKC003" "07SKC003" "09BAH008" ...
.. ..$ peiid : int [1:170] 268820 268820 268820 493742 493742 493742 342445 342445 342445 342445 ...
.. ..$ musym : chr [1:170] "7086" "7086" "7086" "7085" ...
.. ..$ correlated_as: chr [1:170] "LOAFERCREEK" "LOAFERCREEK" "LOAFERCREEK" "Loafercreek" ...
.. ..$ pedon_id : chr [1:170] "07SKC003" "07SKC003" "07SKC003" "09BAH008" ...
.. ..$ diag_kind : chr [1:170] "ochric epipedon" "argillic horizon" "paralithic contact" "ochric epipedon" ...
.. ..$ featdept : int [1:170] 0 23 64 1 12 68 0 9 97 110 ...
.. ..$ featdepb : int [1:170] 23 64 NA 12 68 100 9 97 110 NA ...
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | ## Not run:
# load example dataset
data(gopheridge)
# what kind of object is this?
class(gopheridge)
# tighten figure margins:
par(mar=c(0,0,4,0))
# plot soil colors
plot(gopheridge, name='hzname', color='soil_color')
# generate colors based on clay content
plot(gopheridge, name='hzname', color='clay')
# plot soils sorted by depth to contact
plot(gopheridge, name='hzname', plot.order=order(gopheridge$bedrckdepth))
# plot first 10 profiles
plot(gopheridge[1:10, ], name='hzname', color='soil_color')
# add rock fragment data to plot:
addVolumeFraction(gopheridge[1:10, ], colname='total_frags_pct')
# add diagnostic horizons
addDiagnosticBracket(gopheridge[1:10, ], kind='argillic horizon', col='red')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.