StructuralMind

How to Use Single Pile Analysis

On this page

Single Pile — Axial and Lateral Analysis

One pile in one soil profile raises several questions. How much vertical load does it carry and how far does it settle under the working load? How far does its head move under a horizontal load, and what bending moment does the pile have to take? And when the pile is handed to a frame model as a support, which springs stand for it? This macro answers all of them from the same pile and the same layers, entered once.

The example on this page is a Ø800 mm bored pile, 26 m long, under a car park column. The ground is 4 m of stiff clay over soft clay down to 10 m and stiff clay below that, with the water table at the ground surface. The pile head is held by a cap, and it carries a vertical load of 1,500 kN and a horizontal load of 150 kN.

Creating the calculation

Pick Single Pile — Axial and Lateral Analysis in the Calculation Gallery and add it to your project with "Start Calculation". The input panel is on the left; the results are on the right.

The Single Pile screen. On the left the input panel: Bored pile, 26 m, Circular Ø0.8 m concrete with E = 30,000 MPa, EI 603 186 kN·m², EA 15 079 645 kN and a self weight of 326.7 kN. At the top right the selector Axial (t-z), Lateral (p-y), Pile Spring Constants, each with a green dot, then Run Axial Analysis and Generate Report. Below them the Capacity and Settlement tab with the badges Compression and O'Neill and Reese (bored), one warning, the cards Shaft friction 3,375 kN, End bearing 741.9 kN, Ultimate capacity 4,117 kN, Mobilised capacity 3,575 kN and Allowable capacity 1,935 kN, the design-load values, and the start of the load transfer figure.
The Single Pile screen. On the left the input panel: Bored pile, 26 m, Circular Ø0.8 m concrete with E = 30,000 MPa, EI 603 186 kN·m², EA 15 079 645 kN and a self weight of 326.7 kN. At the top right the selector Axial (t-z), Lateral (p-y), Pile Spring Constants, each with a green dot, then Run Axial Analysis and Generate Report. Below them the Capacity and Settlement tab with the badges Compression and O'Neill and Reese (bored), one warning, the cards Shaft friction 3,375 kN, End bearing 741.9 kN, Ultimate capacity 4,117 kN, Mobilised capacity 3,575 kN and Allowable capacity 1,935 kN, the design-load values, and the start of the load transfer figure.

The macro has three capabilities, and the selector at the top of the results switches between them:

CapabilityAnswers
Axial (t-z)Capacity, the load-settlement curve, the settlement and load distribution under the design load
Lateral (p-y)Deflection, rotation, moment, shear and soil reaction along the pile; the depth to fixity
Pile Spring ConstantsThe pushover curve, the 2×2 lateral spring matrix and the vertical spring Kᵥ

The button next to the selector runs the capability you are looking at: Run Axial Analysis, Run Lateral Analysis or Compute Head Springs. The dot beside each capability shows its state: red when its inputs are incomplete, hollow when it has not been run, orange when the inputs changed after the run, and green when the result is up to date.

Switching between the three capabilities

The input panel has six sections. Each one carries a badge for the capabilities that read it: Shared sections feed all of them, Axial and Lateral sections only their own.

SectionData you define
PileInstallation, length, section and material, EI and EA
Soil ProfileThe layers, their p-y model and strength, the water table
Pile Head LoadsThe head boundary condition and the vertical and horizontal loads
Axial AnalysisLoad direction, safety factors, load-transfer curves
Lateral AnalysisStatic or cyclic loading, P-Delta, the head deflection limit, the group factor
Solver SettingsThe number of nodes along the pile

The pile

Installation is driven, bored or CFA. It selects the shaft-friction correlations and the default load-transfer curves of the axial analysis; a CFA pile is computed as a bored one. Pile Length (L) is the embedded length below the ground surface.

The section is entered in the Section and Material window. It offers a solid circle, a hollow circle and a square, and concrete or steel with an editable elastic modulus and unit weight. From these it writes EI, EA and the self weight into the panel. A square pile is entered as a square, not as an equivalent diameter: its perimeter and its toe area differ from a circle's in different proportions.

EI and EA from the section and the material

The EI the window writes is the gross section value. For a cracked reinforced concrete pile, reduce it with the Flexural Rigidity Factor (0.7, for example) rather than changing the number. The self weight is shown because it enters the calculation in uplift, where it resists the pull.

The soil profile

Layers are entered from the ground surface down, each with its thickness. Each layer takes a p-y model, its total unit weight, its position relative to the water table and the strength parameters the model needs:

p-y modelParameters
Soft Clay (Matlock), Stiff Clay (Reese)Undrained shear strength sᵤ, its increase with depth, ε₅₀
Sand (API), Sand (Reese)Friction angle φ
Linear (constant k), Linear (increasing k)Subgrade modulus k and its increase with depth
Void / Water (p = 0)—

Below the water table the effective unit weight is used. Once a layer is below the water table, the layers under it are too. ε₅₀ can be left blank; it is then taken from sᵤ.

Each layer also has an Axial parameters (optional) group. The values there, such as a unit shaft friction or a unit end bearing taken from a load test, replace the ones the axial analysis would derive from sᵤ and φ.

When the soil report gives no sᵤ, three helpers are at hand. I have c and φ, not sᵤ works from the cohesion and the friction angle. Estimate sᵤ runs the correlations whose inputs the report carries and shows their results side by side. Enter SPT logs takes the borehole's blow counts once, and each clay layer reads the rows inside its own depth range.

I have c and φ, not sᵤ first asks which test produced the cohesion. After a UU triaxial or an unconfined compression test with φ = 0, the cohesion is the undrained shear strength itself. After a direct shear box, a CU or a CD triaxial it is an effective-stress parameter, and the window says not to type it into the sᵤ field.

The Establishing sᵤ (Undrained Shear Strength) window. It asks which test produced the cohesion the report gives for the layer and offers three answers: UU triaxial or unconfined compression; Direct shear box, CU or CD triaxial; and The report does not name the test.
The Establishing sᵤ (Undrained Shear Strength) window. It asks which test produced the cohesion the report gives for the layer and offers three answers: UU triaxial or unconfined compression; Direct shear box, CU or CD triaxial; and The report does not name the test.

An SPT log feeds Estimate sᵤ across a whole layer. Each SPT row inside the layer is estimated on its own and a line is fitted through the points, so both sᵤ at the top of the layer and its increase with depth are written to the layer. The methods that can run are shown side by side with their fitted lines. Use this value writes the chosen one, and the layer then shows which method and clause the value came from.

Estimating sᵤ from an SPT log

Take the profile from another calculation copies a profile entered in another pile calculation. The copy keeps no link to its source: editing either one later does not change the other.

Pile head loads

The Pile-head Boundary Condition picks the pair of statements made at the head:

ConditionMeaning
Shear + MomentFree head: a horizontal load and a moment
Shear + SlopeA horizontal load with the rotation prescribed; a slope of 0 is a fixed head
Shear + Rotational springAn elastic head: the moment follows the rotation (M=kθθM = k_\theta \theta)
Displacement + MomentA prescribed head displacement and a moment
Displacement + SlopeA prescribed head displacement and rotation

The pile in the example sits in a rigid cap, so its head is entered as Shear + Slope with a slope of 0. Vertical load, N is one number for both analyses: the axial analysis takes it as its design load and the lateral one as the axial force of the P-Delta effect. The loads are design values; the macro applies no load factors to them.

Bring a row from a group analysis fills this calculation from a row of a pile group calculation, with that row's p-multiplier and head conditions, so the moment diagram, p-y curves and depth to fixity of that row can be read here.

It replaces the pile, the soil profile, the head condition and the loading settings, so it is meant for a new calculation. In the clip below the leading row of the Pile Group guide's example is brought in. The head becomes Displacement + Slope with the cap's deflection and a slope of 0, and the vertical load becomes the load per pile. The lateral run gives the row's largest moment, 208.5 kN·m, and its largest shear, 141.6 kN: the values in the group's row table.

Bringing a row from a group analysis

Axial analysis settings

The Axial Analysis section of the input panel. Load direction with Compression selected, the box Use a different load for the axial analysis unticked with the line saying the axial analysis also uses the pile-head vertical load of 1,500 kN, Factor of safety for the shaft 2, Factor of safety for the toe 3, Load-transfer curves From the installation, Depth with no side friction empty with 1.52 m by default and Load–settlement steps 30.
The Axial Analysis section of the input panel. Load direction with Compression selected, the box Use a different load for the axial analysis unticked with the line saying the axial analysis also uses the pile-head vertical load of 1,500 kN, Factor of safety for the shaft 2, Factor of safety for the toe 3, Load-transfer curves From the installation, Depth with no side friction empty with 1.52 m by default and Load–settlement steps 30.

Load direction is compression or tension. Use a different load for the axial analysis is for the case where the settlement should be computed under a service load other than the head load; the lateral analysis keeps the head load.

The capacity is reported as ULTIMATE. The allowable capacity is derived only from safety factors you enter, one for the shaft and one for the toe, as Qall=Qs/FSs+Qp/FSpQ_{all} = Q_s / FS_s + Q_p / FS_p. Leave them blank and no allowable capacity is given.

Load-transfer curves follow the installation by default: API RP 2GEO for a driven pile, O'Neill and Reese for a bored one. They decide the settlement, not the capacity. Depth with no side friction is the top length of a bored or CFA pile where no shaft friction is counted (1.52 m when left blank).

Lateral analysis settings

The Lateral Analysis section of the input panel. Loading type with Static selected, the box Include P-Delta (second-order) effects ticked with Use the axial force in the pile chosen under it, Allowable pile-head deflection 25 mm and Group factor Pm 1.
The Lateral Analysis section of the input panel. Loading type with Static selected, the box Include P-Delta (second-order) effects ticked with Use the axial force in the pile chosen under it, Allowable pile-head deflection 25 mm and Group factor Pm 1.

Loading type chooses static or cyclic p-y curves. With Include P-Delta (second-order) effects ticked, the vertical load is carried in the lateral analysis in one of two ways:

  • Use the constant head load keeps the head load constant down the pile. It is on the safe side and needs no axial analysis.
  • Use the axial force in the pile takes the N(z) distribution from an axial solve of the same pile. N decreases as the load is shed to the shaft. The example uses this option.

Once you enter an Allowable pile-head deflection, the head deflection is checked against it and marked pass or fail. Without one, no serviceability check is made. Group factor, Pm reduces the p-y curves of a pile standing in a group; 1 is a single pile.

Reading the axial results

Each run lists its warnings above the results. The example has one: no shaft friction is counted over the top 1.52 m of the pile. It appears on every bored or CFA pile, because the rule applies to all of them.

The first cards give the shaft friction, the end bearing, the ultimate capacity, the mobilised capacity and the allowable capacity. The line under them reports the state under the design load: the head and toe settlement, the elastic shortening, the share carried by the shaft and by the toe, and the vertical spring Kᵥ at that load.

The figure below them draws four quantities against depth beside the soil column: the axial force N(z), the mobilised shaft friction t(z), the settlement w(z) and the bearing capacity. The bearing capacity column answers "what would this pile carry if it ended at this depth"; the depth where that curve crosses the design load is the required embedment, 13.52 m in the example.

The lower part of the Capacity and Settlement tab. Under the figure the line saying the required embedment for the 1,500 kN design load is about 13.52 m while the pile was entered as 26 m. On the left the Capacity Breakdown table with each layer's depth, soil, peak friction at its top and bottom, layer capacity and share: Stiff Clay 206.9 kN, Soft Clay 249.0 kN, Stiff Clay 2,879 kN, total shaft friction 3,375 kN, end bearing 741.9 kN and an ultimate capacity of 4,117 kN. On the right the Load–Settlement Curve rising steeply to about 3,600 kN and levelling off at the mobilised capacity, with the design load and the ultimate capacity as dashed lines.
The lower part of the Capacity and Settlement tab. Under the figure the line saying the required embedment for the 1,500 kN design load is about 13.52 m while the pile was entered as 26 m. On the left the Capacity Breakdown table with each layer's depth, soil, peak friction at its top and bottom, layer capacity and share: Stiff Clay 206.9 kN, Soft Clay 249.0 kN, Stiff Clay 2,879 kN, total shaft friction 3,375 kN, end bearing 741.9 kN and an ultimate capacity of 4,117 kN. On the right the Load–Settlement Curve rising steeply to about 3,600 kN and levelling off at the mobilised capacity, with the design load and the ultimate capacity as dashed lines.

The Capacity Breakdown table splits the capacity layer by layer. The Load–Settlement Curve draws the head load against the head settlement. It stays below the ultimate-capacity line: that line is the sum of each layer's peak friction and the end bearing, while the friction in clay drops past its peak, so the largest load the pile can mobilise at one time (the mobilised capacity) is lower.

The t-z Curves tab draws the shaft friction against the pile movement at the depths you choose, by default one in each layer. Clicking a point on the soil column brings that depth's curve forward.

The t-z Curves tab. Depth chips 2 m, 7 m and 18 m, the soil column with the three depths marked on the pile, and the unit shaft friction against the pile movement for each: 33 kPa in the upper stiff clay, 17.1 kPa in the soft clay and 72.6 kPa in the lower stiff clay. Each curve drops after its peak. Below them the note that the curves are traced to 24 mm and that the toe resistance is a separate mechanism.
The t-z Curves tab. Depth chips 2 m, 7 m and 18 m, the soil column with the three depths marked on the pile, and the unit shaft friction against the pile movement for each: 33 kPa in the upper stiff clay, 17.1 kPa in the soft clay and 72.6 kPa in the lower stiff clay. Each curve drops after its peak. Below them the note that the curves are traced to 24 mm and that the toe resistance is a separate mechanism.

The axial Detailed Calculation tab shows each step with its formula, the same formula with the numbers substituted, and its result: the shaft friction of each layer, the end bearing, the ultimate and allowable capacity, the settlement under the design load and Kᵥ.

The axial Detailed Calculation tab. The steps Shaft perimeter and toe area, then for each layer the unit shaft friction at mid-depth and the shaft capacity as an integral with the average friction beside it, for example Layer 1 with alpha = 0.55, f = 33 kPa and Q = 206.9 kN, and Layer 2 with Q = 249 kN.
The axial Detailed Calculation tab. The steps Shaft perimeter and toe area, then for each layer the unit shaft friction at mid-depth and the shaft capacity as an integral with the average friction beside it, for example Layer 1 with alpha = 0.55, f = 33 kPa and Q = 206.9 kN, and Layer 2 with Q = 249 kN.

Reading the lateral results

The Results tab opens with a method note and the run's warnings. The cards give the head deflection, with the PASS or FAIL mark when you entered a limit, the head rotation, the maximum moment with its depth, the maximum shear and the equilibrium check.

The lateral Results tab. A method note on the layered Direct method, one warning, and the cards Head deflection 0.78 mm with PASS, limit 25.0 mm and ratio 0.03, Head rotation -0.000 mrad, Max moment -208.9 kN·m at 0.00 m depth, Max shear 150.0 kN and Equilibrium converged. Below them the card Sequential analysis — the force distribution from the axial solve: 1,500 kN at the head, 1,470 kN shed to the shaft, 30.28 kN reaching the toe, a head settlement of 2.02 mm and the N(z) diagram.
The lateral Results tab. A method note on the layered Direct method, one warning, and the cards Head deflection 0.78 mm with PASS, limit 25.0 mm and ratio 0.03, Head rotation -0.000 mrad, Max moment -208.9 kN·m at 0.00 m depth, Max shear 150.0 kN and Equilibrium converged. Below them the card Sequential analysis — the force distribution from the axial solve: 1,500 kN at the head, 1,470 kN shed to the shaft, 30.28 kN reaching the toe, a head settlement of 2.02 mm and the N(z) diagram.

When P-Delta takes the axial force in the pile, a Sequential analysis card shows the N(z) distribution the lateral analysis used. In the example the head is fixed against rotation, so the largest moment, 208.9 kN·m, is at the head.

The figure draws the deflection, rotation, moment, shear and soil reaction along the pile beside the soil column. Moving the pointer over it reads all five at that depth; a click keeps the reading.

The lateral response diagrams. The soil column with the pile, V = 150 kN and N = 1,500 kN at its head, and beside it Deflection with 0.8 mm at the head, Rotation, Moment with -209 kN·m at the head and 60.8 kN·m lower down, Shear with 150 kN at the head, and Soil Reaction with its largest value, 59.6 kN/m, near 2 m. All five fade out below about 10 m.
The lateral response diagrams. The soil column with the pile, V = 150 kN and N = 1,500 kN at its head, and beside it Deflection with 0.8 mm at the head, Rotation, Moment with -209 kN·m at the head and 60.8 kN·m lower down, Shear with 150 kN at the head, and Soil Reaction with its largest value, 59.6 kN/m, near 2 m. All five fade out below about 10 m.

The lateral Detailed Calculation tab draws the p-y curves at the depths you choose, gives the formulas of each p-y model in the profile, and works through the curve of the selected depth step by step: the effective overburden, the ultimate resistance and the curve itself.

The p-y Curves overview. Depth chips 1 m, 3 m, 5 m and 8 m, loading Static + Cyclic, the soil column with the four depths marked, two in the upper stiff clay and two in the soft clay, and the soil reaction against the deflection for each depth up to 240 mm: static curves solid, cyclic ones dashed, the ultimate resistance pu as dotted lines, and the reference deflection y50 as dashed vertical lines at 5.6 mm for the stiff clay and 40 mm for the soft clay. The stiff clay curves drop after their peak.
The p-y Curves overview. Depth chips 1 m, 3 m, 5 m and 8 m, loading Static + Cyclic, the soil column with the four depths marked, two in the upper stiff clay and two in the soft clay, and the soil reaction against the deflection for each depth up to 240 mm: static curves solid, cyclic ones dashed, the ultimate resistance pu as dotted lines, and the reference deflection y50 as dashed vertical lines at 5.6 mm for the stiff clay and 40 mm for the soft clay. The stiff clay curves drop after their peak.

Depth to fixity

The Depth to Fixity tab gives three values for the depth at which the pile can be taken as fixed in a frame model:

ValueMeaning
Davisson (equivalent cantilever)The closed-form value, for preliminary design
Equivalent cantilever (p-y)The cantilever length that gives the same head deflection
Observed (zero deflection)The depth where the computed deflection returns to zero; a check
The Depth to Fixity tab. The values Davisson 4.90 m, equivalent cantilever 3.35 m and observed 4.45 m, the soil column with the deflection curve and the fixity lines, and the derivation: the active zone of 3.939 m, the equivalent soil modulus Es = 4018 kPa, the characteristic length R = 3.5 m, the depth to fixity 1.4R = 4.901 m and the long-pile check L/R = 7.428 > 4.
The Depth to Fixity tab. The values Davisson 4.90 m, equivalent cantilever 3.35 m and observed 4.45 m, the soil column with the deflection curve and the fixity lines, and the derivation: the active zone of 3.939 m, the equivalent soil modulus Es = 4018 kPa, the characteristic length R = 3.5 m, the depth to fixity 1.4R = 4.901 m and the long-pile check L/R = 7.428 > 4.

The closed form assumes one soil modulus. In a layered profile it is reduced to a single equivalent modulus over the active zone, and the tab says so. In the example the active zone, 3.94 m deep, lies inside the top stiff clay, so the modulus is that layer's own. The final design reads the moments and the embedment from the full p-y results, not from a single depth.

Pile spring constants

This group gives what a frame model needs at the pile head. Its run is started with Compute Head Springs in the toolbar or Update in the panel.

The pushover curve pushes the head step by step up to the Target load factor times the design loads. If the soil reaches its ultimate resistance first, the summary shows VuV_u, yuy_u and MmaxM_{max}; otherwise it shows the values at the last step as VmaxV_{max}, ymaxy_{max} and MmaxM_{max}, with a note that these are not a lateral capacity. The raw curve and an equal-energy bilinear idealisation can be downloaded as CSV.

The Pile Spring Constants group. Target load factor 3, Steps 20, vertical axis Shear, load levels 37.5, 75, 112.5 and 150 kN, and Update. On the left the Pushover Curve with the badge Reached the target load, the summary Vmax = 450 kN, ymax = 4.303 mm, Mmax = -758.9 kN·m, the note that the soil did not reach its ultimate, and the raw and idealised curves with the secants of the load levels. On the right the Lateral Stiffness table with Khh, Kmm and Khm for the initial tangent and at each load level, and the 2×2 spring matrix of the 150 kN row.
The Pile Spring Constants group. Target load factor 3, Steps 20, vertical axis Shear, load levels 37.5, 75, 112.5 and 150 kN, and Update. On the left the Pushover Curve with the badge Reached the target load, the summary Vmax = 450 kN, ymax = 4.303 mm, Mmax = -758.9 kN·m, the note that the soil did not reach its ultimate, and the raw and idealised curves with the secants of the load levels. On the right the Lateral Stiffness table with Khh, Kmm and Khm for the initial tangent and at each load level, and the 2×2 spring matrix of the 150 kN row.

The Lateral Stiffness table gives Kₕₕ, Kₘₘ and Kₕₘ as secants at the load levels you list; clicking a row shows its 2×2 matrix. The first row is the initial tangent. A soft clay or dry stiff clay layer within five diameters of the head has a p-y curve that starts vertical; the initial tangent is then undefined, so it is left out and the table says so.

The lower part of the Pile Spring Constants group. On the left Vertical Spring Kv: the load–settlement curve with its start drawn densely, and the table Initial tangent 752,657 kN/m, at half the ultimate 2,058 kN 704,451 kN/m, at the design load 1,500 kN 743,766 kN/m. On the right Secant Softening: Khh, Kmm and Khm divided by their value at the lightest level, falling with the load level.
The lower part of the Pile Spring Constants group. On the left Vertical Spring Kv: the load–settlement curve with its start drawn densely, and the table Initial tangent 752,657 kN/m, at half the ultimate 2,058 kN 704,451 kN/m, at the design load 1,500 kN 743,766 kN/m. On the right Secant Softening: Khh, Kmm and Khm divided by their value at the lightest level, falling with the load level.

The Vertical Spring Kᵥ table gives the initial tangent and the secants at half the ultimate capacity and at the design load. Each secant is drawn on the curve as a line from the origin; clicking a row marks it. The Secant Softening chart shows how much the three lateral terms soften as the load grows.

The springs are nonlinear: a spring taken at one load level does not hold at another, which is why each value is given with the load it was taken at.

Generating the report

Generate Report produces a PDF in parts: the inputs, the axial analysis, the lateral analysis, the pile spring constants, and the scope and limitations. Only the capabilities you have run appear in it.

A page of the report: Load Transfer and Capacity vs Depth Along the Pile, with the soil column and the axial force, shaft friction, settlement and bearing capacity against depth, and the line on the required embedment of about 13.52 m.
A page of the report: Load Transfer and Capacity vs Depth Along the Pile, with the soil column and the axial force, shaft friction, settlement and bearing capacity against depth, and the line on the required embedment of about 13.52 m.
A page of the report: Lateral Response Diagrams Along the Pile, with the soil column and the deflection, rotation, moment, shear and soil reaction diagrams.
A page of the report: Lateral Response Diagrams Along the Pile, with the soil column and the deflection, rotation, moment, shear and soil reaction diagrams.

Publishing and verification

Publish at the top of the page opens the Publishing & Verification window. Publish This Version freezes the calculation as it stands, its inputs and results together, into a copy that does not change, and gives that copy a verification link. Anyone with the link sees the copy read-only, without signing in. Editing the calculation afterwards leaves the copy as it was. Publishing a state that is already published returns the same publication instead of a second one.

While the calculation is in its published state, the window marks it Current. Download PDF with QR, and Generate Report too, then produce the report with a QR code that opens the link. Once an input changes, the report no longer matches the publication and the QR is left out. Publish again to get a link for the new state.

The Publishing & Verification window. Below the explanation of what publishing does, the badge Current, the buttons Publish This Version and Download PDF with QR, and the note that the PDF will include the verification QR code. Under Publications one entry, marked Current, with its date, its view count, its verification link and the buttons to copy, open and revoke it.
The Publishing & Verification window. Below the explanation of what publishing does, the badge Current, the buttons Publish This Version and Download PDF with QR, and the note that the PDF will include the verification QR code. Under Publications one entry, marked Current, with its date, its view count, its verification link and the buttons to copy, open and revoke it.

The Publications list holds every version with its date and the number of times its link has been opened. Each can be copied, opened or revoked. Revoking is permanent: the link stops working.

Whether the results are current

A change to any input turns the dots of the capabilities that read it orange, and the run button turns orange with them. The results on screen stay as they were until you run again. The axial result follows only the inputs the axial analysis reads: changing the horizontal load, for example, leaves it up to date.

When the pile stands in a group

This macro analyses one pile. When several piles share a rigid cap, the cap imposes the same head deflection on all of them and the rows do not share the load equally. The Pile Group Analysis macro handles that case: it computes the group's axial capacity and the load each row takes. A row of that analysis can be brought back here with Bring a row from a group analysis. The Pile Group guide walks through that macro.